Skip to main content

Documentation Index

Fetch the complete documentation index at: https://wb-21fd5541-python-sdk-testing.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Description

A single registry in the Registry.

Args:

  • client: The API client used to query W&B.
  • organization:
  • entity: The entity which owns the registry.
  • name: The name of the registry (without the wandb-registry- prefix).
  • attrs: The attributes of the registry, typically obtained from a GraphQL response.

Properties:

id

The unique ID for this registry.

full_name

Full name of the registry including the wandb-registry- prefix.

name

Name of the registry without the wandb-registry- prefix.

entity

Organization entity of the registry.

organization

Organization name of the registry.

description

Description of the registry.

allow_all_artifact_types

Return whether all artifact types are allowed in the registry. If True, artifacts of any type can be added. If False, artifacts are restricted to the types listed in artifact_types.

artifact_types

Returns the artifact types allowed in the registry. If allow_all_artifact_types is True then artifact_types reflects the types previously saved or currently used in the registry. If allow_all_artifact_types is False then artifacts are restricted to the types in artifact_types. Note: Previously saved artifact types cannot be removed.

created_at

Timestamp of when the registry was created.

updated_at

Timestamp of when the registry was last updated.

path

Returns the path of the registry.

visibility

Visibility of the registry.

Methods:

add_members

Adds users or teams to this registry.

collections

Returns the collections belonging to the registry.

create

Create a new registry. The registry name must be unique within the organization. This function should be called using api.create_registry()

delete

Delete the registry. This is irreversible.

load

Load registry attributes from the backend.

members

Returns the current members (users and teams) of this registry.

remove_members

Removes users or teams from this registry.

save

Save registry attributes to the backend.

team_members

Returns the current member teams of this registry.

update_member

Updates the role of a member within this registry.

user_members

Returns the current member users of this registry.

versions

Returns the versions belonging to the registry.