class_docstr: Manage state related to controlling Bokeh output.
  
      
docstr: Notebook type, acceptable values are 'jupyter' as well as any names
  defined by external notebook hooks that have been installed.
docstr_tok: ["Notebook","type",",","acceptable","values","are","'jupyter","'","as","well","as","any","names","defined","by","external","notebook","hooks","that","have","been","installed","."]
code: def notebook_type(self, notebook_type: NotebookType) -> None:
      """Notebook type, acceptable values are 'jupyter' as well as any names
      defined by external notebook hooks that have been installed.
  
      """
      if notebook_type is None or not isinstance(notebook_type, str):
          raise ValueError("Notebook type must be a string")
      self._notebook_type = cast("NotebookType", notebook_type.lower())
  
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 7 for calling the State obj's underlying member method code with example usage: obj.notebook_type(notebook_type) without return types