code: def marshall(
      proto: BokehChartProto,
      figure: "Figure",
      use_container_width: bool,
      element_id: str,
  ) -> None:
      """Construct a Bokeh chart object.
  
      See DeltaGenerator.bokeh_chart for docs.
      """
      from bokeh.embed import json_item
  
      data = json_item(figure)
      proto.figure = json.dumps(data)
      proto.use_container_width = use_container_width
      proto.element_id = element_id
  
file_path: streamlit/lib/streamlit/elements/bokeh_chart.py
imports: import hashlib
  import json
  from typing import TYPE_CHECKING, cast
  from typing_extensions import Final
  from streamlit.errors import StreamlitAPIException
  from streamlit.proto.BokehChart_pb2 import BokehChart
  from streamlit.runtime.metrics_util import gather_metrics
  from streamlit.util import HASHLIB_KWARGS
label_desc: Use image node_id 1 for calling a global function with example usage: marshall(proto, figure, use_container_width, element_id) without return types