Skip to main content

class Sweeps

Description

A lazy iterator over a collection of Sweep objects.

Args

  • service_api: The service API used to query W&B.
  • entity: The entity which owns the sweeps.
  • project: The project which contains the sweeps.
  • per_page: The number of sweeps to fetch per request to the API.

Examples

Methods

method Paginator.next()

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

method Paginator.update_variables()

Update the query variables for the next page fetch.