Organization¶
- class geodesic.account.organizations.Organization(**organization)[source]¶
Bases:
geodesic.bases._APIObject
The Organization class to manage groups users
- Parameters
**organization – metadata about a particular Organization
- name¶
(str) - name of this organization
Descriptor:
_StringDescr
- alias¶
(str) - alias for this organization
Descriptor:
_StringDescr
- description¶
(str) - description of this organization
Descriptor:
_StringDescr
- homepage¶
(str) - homepage for this organization
Descriptor:
_StringDescr
- property members: Dict[str, geodesic.account.user.User]¶
All of the members and admins
- add_members(members=[], admins=[])[source]¶
Add members to this Organization
- Parameters
members (List[geodesic.account.user.User]) – a list of users to give ordinary membership to
admins (List[geodesic.account.user.User]) – a list of users to give admin privileges to
- remove_member(u)[source]¶
Remove a member from this Organization
- Parameters
u (geodesic.account.user.User) – A User to remove
- property remaining_seats¶
Gets the number of seats remaining in this Organization (total_seats - # of users)