Class wandb.apis.public.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.Args
ServiceApi
The service API instance to use for querying W&B.
str
The name of the team
Mapping[str, Any] | None
Optional dictionary of team attributes
Examples
Look up a team and invite a member.Methods
method Team.create()
Arguments
Api
(
Api) The api instance to usestr
(str) The name of the team
str | None
(str) optional username of the admin user of the team, defaults to the current user.
method Team.create_service_account()
Arguments
str
(str) A description for this service account
method Team.invite()
Arguments
str
(str) The username or email address of the user you want to invite.
bool
(bool) Whether to make this user a team admin. Defaults to
False.