organization
Organization-related enums.
The membership role (intra-org RBAC) and an invitation's status. String enums whose values match the API/JSON wire form.
ORGANIZATION_NAME_MAX_LENGTH = 64
module-attribute
¶
The longest an organization's display name may be, in characters.
A display name is a team label ("Sleep Lab Copenhagen"), not a full affiliation; a longer affiliation stays on the member's profile.
InvitationStatus
¶
Bases: str, Enum
Where an organisation invitation stands.
Only pending invitations can be accepted. An expired invitation is kept briefly so the inviter can see it lapsed; a revoked one is withdrawn by an organisation admin; an accepted one has become a membership.
MembershipRole
¶
Bases: str, Enum
A member's role within an organization (intra-org RBAC).