Class wandb.apis.public.User
A user on a W&B instance. This allows managing a user’s API keys and accessing information like team memberships. Thecreate class method can be used to create a new
user.
Properties
list[str]
Names of the user’s API keys.This property returns the names of the the API keys, not the secret
associated with the key. The name of the key cannot be used as an API
key.The list is empty if the user has no API keys or if API keys have not
been loaded.
list[str]
Names of the user’s teams.This is an empty list if the user has no team memberships or if teams
data was not loaded.
Api | None
A
wandb.Api instance using the user’s credentials.Methods
method User.create()
create_user() method of
wandb.Api instead.
Arguments
Api
The API instance to use to create the user.
str
The email for the user.
bool | None
Whether this user should be a global instance admin.
method User.delete_api_key()
Arguments
str
The name of the API key to delete. Use one of the names returned by the
api_keys property.method User.generate_api_key()
Arguments
str | None
A description for the new API key. This can be used to identify the purpose of the API key.