Skip to main content

Class wandb.apis.public.Sweeps

A lazy iterator over a collection of Sweep objects.

Args

ServiceApi
The service API used to query W&B.
str
The entity which owns the sweeps.
str
The project which contains the sweeps.
int
The number of sweeps to fetch per request to the API.
dict[str, Any] | None
(dict) queries for specific sweeps using the runs filters, See wandb/apis/public/api.py:runs for more details.

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.