class_docstr: A set of runs associated with a sweep.
  
  Examples:
      Instantiate with:
      ```
      api = wandb.Api()
      sweep = api.sweep(path/to/sweep)
      ```
  
  Attributes:
      runs: (`Runs`) list of runs
      id: (str) sweep id
      project: (str) name of project
      config: (str) dictionary of sweep configuration
      state: (str) the state of the sweep
      expected_run_count: (int) number of expected runs for the sweep
code: def __init__(self, client, entity, project, sweep_id, attrs=None):
      # TODO: Add agents / flesh this out.
      super().__init__(dict(attrs or {}))
      self.client = client
      self._entity = entity
      self.project = project
      self.id = sweep_id
      self.runs = []
  
      self.load(force=not attrs)
  
imports: import urllib
  from typing import Optional
  from wandb_gql import gql
  import wandb
  from wandb import util
  from wandb.apis import public
  from wandb.apis.attrs import Attrs
  from wandb.sdk.lib import ipython
label_desc: Use image node_id 1 to create a new Sweep object from inherited base classes: Attrs with example: obj = Sweep(client, entity, project, sweep_id, attrs)