class_docstr: Modify Bokeh documents by executing code from Python scripts.
  
      
docstr: Keywords:
      filename (str) : a path to a Python source (".py") file
docstr_tok: ["Keywords",":","filename","(","str",")",":","a","path","to","a","Python","source","(","``",".py","''",")","file"]
code: def __init__(
      self,
      *,
      filename: PathLike,
      argv: list[str] = [],
      package: ModuleType | None = None,
  ) -> None:
      """
  
      Keywords:
          filename (str) : a path to a Python source (".py") file
  
      """
      with open(filename, encoding="utf-8") as f:
          source = f.read()
  
      super().__init__(
          source=source, filename=filename, argv=argv, package=package
      )
  
file_path: bokeh/src/bokeh/application/handlers/script.py
imports: from __future__ import annotations
  import logging
  from types import ModuleType
  from ...core.types import PathLike
  from .code import CodeHandler
label_desc: Use image node_id 1 to create a new ScriptHandler object from inherited base classes: CodeHandler with example: obj = ScriptHandler()