class Team
A class that represents a W&B team.
This class provides methods to manage W&B teams, including creating teams, inviting members, and managing service accounts. It inherits from Attrs to handle team attributes.
method Team.__init__
- client(- wandb.apis.public.Api): The api instance to use
- name(str): The name of the team
- attrs(dict): Optional dictionary of team attributes
Team management requires appropriate permissions.
classmethod Team.create
- api: (- Api) The api instance to use
- team: (str) The name of the team
- admin_username: (str) optional username of the admin user of the team, defaults to the current user.
Team object
method Team.create_service_account
- description: (str) A description for this service account
Member object, or None on failure
method Team.invite
- username_or_email: (str) The username or email address of the user you want to invite.
- admin: (bool) Whether to make this user a team admin. Defaults to- False.
True on success, False if user was already invited or didn’t exist.