Skip to main content

class ArtifactCollections

(service_api: 'ServiceApi',
entity: 'str',
project: 'str',
type_name: 'str',
filters: 'Mapping[str, Any] | None' = None,
order: 'str | None' = None,
per_page: 'int' = 50,
start: 'str | None' = None)

Description

Artifact collections of a specific type in a project.

Args

  • service_api: Interface to the wandb-core service that performs W&B API calls for this collection.
  • entity: The entity (user or team) that owns the project.
  • project: The name of the project to query for artifact collections.
  • type_name: The name of the artifact type for which to fetch collections.
  • filters: Optional mapping of filters to apply to the query.
  • order: Optional string to specify the order of the results. If prefixed with ’+’, sorts ascending (default). If prefixed with ’-’, sorts descending.
  • per_page: The number of artifact collections to fetch per page. Default is 50.
  • start:

Methods

method convert_objects

self
Convert the last fetched response data into the iterated objects.

method next

self
Return the next item from the iterator. When exhausted, raise StopIteration

method update_variables

self
Update the query variables for the next page fetch.