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 usename(str): The name of the teamattrs(dict): Optional dictionary of team attributes
Team management requires appropriate permissions.
classmethod Team.create
api: (Api) The api instance to useteam: (str) The name of the teamadmin_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 toFalse.
True on success, False if user was already invited or didn’t exist.