auth package
Submodules
auth.auth module
- auth.auth.get_email_address_for_user(user_id: str) str
- auth.auth.get_non_tta_members() list[User]
get a list of all members that are not TTA members :return: the list of non-TTA Users
- auth.auth.get_user_by_id(user_id: str) User
method to get a User from an ID
- Parameters:
user_id – the ID of the User - we expect an int
- Returns:
a User object
- Raise:
ValueError if not user is fount with that id, or if the user_id is a str