Skip to main content

Documentation Index

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

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

Description

An artifact collection that represents a group of related artifacts.

Args

  • client: Legacy GraphQL client retained for API compatibility.
  • entity: The entity (user or team) that owns the project.
  • project: The name of the project to query for artifact collections.
  • name: The name of the artifact collection.
  • type: The type of the artifact collection (e.g., “dataset”, “model”).
  • organization: Optional organization name if applicable.
  • attrs: Optional mapping of attributes to initialize the artifact collection. If not provided, the object will load its attributes from W&B upon initialization.
  • service_api: Interface to the wandb-core service that performs W&B API calls for this collection.

Properties

property id

The unique identifier of the artifact collection.

property entity

The entity that owns the project.

property project

The project that contains the artifact collection.

property aliases

The aliases for all artifact versions contained in this collection.

property created_at

The creation date of the artifact collection.

property updated_at

The date at which the artifact collection was last updated.

property description

A description of the artifact collection.

property tags

The tags associated with the artifact collection.

property name

The name of the artifact collection.

property type

Returns the type of the artifact collection.

Methods

method artifacts

self,
per_page: 'int' = 50,
start: 'str | None' = None
Get all artifacts in the collection.
Arguments
  • per_page: The number of artifacts to fetch per page. Default is 50.
  • start: Pagination cursor for resuming a past query, captured from a previous paginator’s .cursor attribute.

method change_type

self,
new_type: 'str'
Deprecated, change type directly with save instead.
Arguments
  • new_type:

method delete

self
Delete the entire artifact collection.

method is_sequence

self
Return whether the artifact collection is a sequence.

method save

self
Persist any changes made to the artifact collection.