Skip to main content
GitHub source

class Reports

Reports is a lazy iterator of BetaReport objects.

method Reports.__init__

__init__(
    client: 'RetryingClient',
    project: 'Project',
    name: 'str | None' = None,
    entity: 'str | None' = None,
    per_page: 'int' = 50
)
Args:
  • client (wandb.apis.internal.Api): The API client instance to use.
  • project (wandb.sdk.internal.Project): The project to fetch reports from.
  • name (str, optional): The name of the report to filter by. If None, fetches all reports.
  • entity (str, optional): The entity name for the project. Defaults to the project entity.
  • per_page (int): Number of reports to fetch per page (default is 50).

property Reports.length


method Reports.convert_objects

convert_objects() → list[BetaReport]
Converts GraphQL edges to File objects.

method Reports.update_variables

update_variables() → None
Updates the GraphQL query variables for pagination.