organization
numerous.organization
Package for managing organizations.
Organization
Represents a Numerous platform organization.
Attributes:
| Name | Type | Description |
|---|---|---|
id |
str
|
The unique identifier for the organization. |
slug |
str
|
The slug of the organization. Can be updated and cached to minimize API calls. |
Source code in numerous/organization/organization.py
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | |
slug: str
property
Get the organization slug.
The slug is cached and updated at most once every 5 minutes.
Returns:
| Type | Description |
|---|---|
str
|
The organization slug. |
organization_from_env(_client=None)
Create a Organization instance from environment variables.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
_client
|
Optional[Client]
|
A client instance. |
None
|
Returns:
| Type | Description |
|---|---|
Organization
|
A new Organization instance created environment variables. |
Source code in numerous/organization/factory.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | |