class_docstr: Manage state related to controlling Bokeh output.
  
      
code: def document(self, doc: Document) -> None:
      self._document = doc
  
imports: from __future__ import annotations
  import logging
  import os
  from dataclasses import dataclass
  from typing import TYPE_CHECKING, cast
  from ..core.types import PathLike
  from ..document import Document
  from ..resources import Resources, ResourcesMode
label_desc: Use image node_id 3 for calling the State obj's underlying member method code with example usage: obj.document(doc) without return types