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 object that satisfies query based on the specified type.

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 types.
  • type_name: The name of the artifact type.
  • attrs: Optional attributes to initialize the ArtifactType. If omitted, 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 artifact type.

Properties

property id

The unique identifier of the artifact type.

property name

The name of the artifact type.

Methods

method collection

self,
name: 'str'
Get a specific artifact collection by name.
Arguments
  • name: The name of the artifact collection to retrieve.

method collections

self,
filters: 'Mapping[str, Any] | None' = None,
order: 'str | None' = None,
per_page: 'int' = 50,
start: 'str | None' = None
Get all artifact collections associated with this artifact type.
Arguments
  • filters: Optional mapping of filters to apply to the query.
  • order: Optional string to specify the order of the results. If you prepend order with a + order is ascending (default). If you prepend order with a - order is descending. The default order is the collection ID in descending order.
  • per_page: The number of artifact collections to fetch per page. Default is 50.
  • start: Pagination cursor for resuming a past query, captured from a previous paginator’s .cursor attribute.