docstr: Get our DeltaGenerator.
docstr_tok: ["Get","our","DeltaGenerator","."]
code: def dg(self) -> "DeltaGenerator":
      """Get our DeltaGenerator."""
      return cast("DeltaGenerator", self)
  
file_path: streamlit/lib/streamlit/elements/code.py
imports: from typing import TYPE_CHECKING, Optional, cast
  from streamlit.proto.Code_pb2 import Code
  from streamlit.runtime.metrics_util import gather_metrics
  from streamlit.string_util import clean_text
  from streamlit.type_util import SupportsStr
label_desc: Use image node_id 2 for calling the CodeMixin obj's underlying member method code with example usage: obj.dg() and returns: cast