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