docstr: Generate HTML containing an iframe displaying this report.
code: def to_html(self, height: int = 1024, hidden: bool = False) -> str:
      """Generate HTML containing an iframe displaying this report."""
      try:
          url = self.url + "?jupyter=true"
          style = f"border:none;width:100%;height:{height}px;"
          prefix = ""
          if hidden:
              style += "display:none;"
              prefix = ipython.toggle_button("report")
          return (
              prefix + f"<iframe src={url!r} style={style!r}></iframe>"
          )
      except AttributeError:
          termlog(
              "HTML repr will be available after you save the report!"
          )
  
imports: import base64
  import inspect
  import json
  import re
  import urllib
  from copy import deepcopy
  from typing import List
  from ...None import __version__
  from ...None import termlog, termwarn
  from ...sdk.lib import ipython
  from ..public import Api
  from ..public import RetryingClient
  from ._blocks import P, PanelGrid, UnknownBlock, WeaveBlock, block_mapping, weave_blocks
  from .mutations import UPSERT_VIEW, VIEW_REPORT
  from .runset import Runset
  from .util import Attr, Base, Block, coalesce, generate_name, nested_get, nested_set
  from .validators import OneOf, TypeValidator
label_desc: Use image node_id 18 for calling the Report obj's underlying member method code with example usage: obj.to_html(height, hidden) and returns: unknown