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: Generate HTML containing an iframe displaying this sweep.
docstr_tok: ["Generate","HTML","containing","an","iframe","displaying","this","sweep","."]
code: def to_html(self, height=420, hidden=False):
      """Generate HTML containing an iframe displaying this sweep."""
      url = self.url + "?jupyter=true"
      style = f"border:none;width:100%;height:{height}px;"
      prefix = ""
      if hidden:
          style += "display:none;"
          prefix = ipython.toggle_button("sweep")
      return prefix + f"<iframe src={url!r} style={style!r}></iframe>"
  
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 13 for calling the Sweep obj's underlying member method code with example usage: obj.to_html(height, hidden) and returns: unknown