Organization#
- class polars_cloud.Organization(name: str | None = None, *, id: UUID | None = None)
A Polars Cloud organization.
With this class you can list the organizations the user is a member of or set up a new organization >>> organization = Organization.setup(“my_organization”) # doctest: +SKIP
- Parameters:
- name
The organization name.
- id
The organization id.
Attributes:
id
Organization id.
name
Organization name.
Methods:
load
Load the organization details (e.g. name, status, id) from the control plane.
delete
Delete an organization.
setup
Create a new organization.
list
List all organizations the user has access to.
- property id: UUID
Organization id.
- property name: str
Organization name.
- load() None
Load the organization details (e.g. name, status, id) from the control plane.
Note
Depending on the input
load
will load theOrganization
object by id / name
- delete() None
Delete an organization.
- classmethod setup(name: str) Self
Create a new organization.
- Parameters:
- name
Name of the organization