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
The set of runs associated with the sweep.Args
- client: The API client used to query W&B.
- entity: The entity which owns the sweep.
- project: The project which contains the sweep.
- sweep_id: The unique identifier for the sweep.
- attrs: The attributes of the sweep, typically obtained from a GraphQL response.
- service_api:
Properties
property entity
The entity associated with the sweep.property username
Deprecated. UseSweep.entity instead.
property config
The sweep configuration used for the sweep.property order
Return the order key for the sweep.property expected_run_count
Return the number of expected runs in the sweep or None for infinite runs.property path
Returns the path of the project. The path is a list containing the entity, project name, and sweep ID.property url
The URL of the sweep. The sweep URL is generated from the entity, project, the term “sweeps”, and the sweep ID.run_id. For SaaS users, it takes the form ofhttps://wandb.ai/entity/project/sweeps/sweeps_ID.
property name
The name of the sweep. Returns the first name that exists in the following priority order:- User-edited display name
- Name configured at creation time
- Sweep ID
Methods
method agent
Arguments
- agent_id: The ID of the agent to look up.
method agents
method best_run
Arguments
- order:
method display
Arguments
- height:
- hidden:
method get
Execute a query against the cloud backend.Arguments
- client: Legacy GraphQL client retained for API compatibility.
- entity: The entity (username or team) that owns the project.
- project: The name of the project to fetch sweep from.
- sid: The sweep ID to query.
- order: The order in which the sweep’s runs are returned.
- query: The query to use to execute the query.
- service_api: Interface to the wandb-core service that performs W&B API calls for the returned sweep.
- kwargs: