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
docstr: Return the number of expected runs in the sweep or None for infinite runs.
docstr_tok: ["Return","the","number","of","expected","runs","in","the","sweep","or","None","for","infinite","runs","."]
code: def expected_run_count(self) -> Optional[int]:
      """Return the number of expected runs in the sweep or None for infinite runs."""
      return self._attrs.get("runCountExpected")
  
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 8 for calling the Sweep obj's underlying member method code with example usage: obj.expected_run_count() and returns: self