class_docstr: Manage state related to controlling Bokeh output.
  
      
docstr: A default |Document| to use for all output operations.
  
          
docstr_tok: ["A","default","|Document|","to","use","for","all","output","operations","."]
code: def document(self) -> Document:
      """A default |Document| to use for all output operations."""
      return self._document
  
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 2 for calling the State obj's underlying member method code with example usage: obj.document() and returns: self