Skip to main content

class Reports

(service_api: 'ServiceApi',
project: 'Project',
name: 'str | None' = None,
entity: 'str | None' = None,
per_page: 'int' = 50)

Description

Reports is a lazy iterator of BetaReport objects.

Args

  • service_api: Interface to the wandb-core service that performs W&B API calls for this collection.
  • project: The project to fetch reports from.
  • name: The name of the report to filter by. If None, fetches all reports.
  • entity: The entity name for the project. Defaults to the project entity.
  • per_page: Number of reports to fetch per page (default is 50).

Methods

method convert_objects

self
Converts GraphQL edges to File objects.

method next

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

method update_variables

self
Updates the GraphQL query variables for pagination.