class_docstr: Explicitly coordinate the level Tornado components required to run a
  Bokeh server:
  
  * A Tornado ``IOLoop`` to run the Bokeh server machinery.
  
  * a ``BokehTornado`` Tornado application that defines the Bokeh server
    machinery.
  
  * a Tornado ``HTTPServer`` to direct HTTP requests
  
  All three of these components must be passed to ``BaseServer``, which will
  initialize the ``BokehTornado`` instance on the ``io_loop``. The
  ``http_server`` must have been previously created and initialized with the
  ``BokehTornado`` instance.
docstr: Opens an app in a browser window or tab.
  
  This method is useful for testing or running Bokeh server applications
  on a local machine but should not call when running Bokeh server for
  an actual deployment.
  
  Args:
      app_path (str) : the app path to open
          The part of the URL after the hostname:port, with leading slash.
  
      browser (str, optional) : browser to show with (default: None)
          For systems that support it, the **browser** argument allows
          specifying which browser to display in, e.g. "safari", "firefox",
          "opera", "windows-default" (see the :doc:`webbrowser <python:library/webbrowser>`
          module documentation in the standard lib for more details).
  
      new (str, optional) : window or tab (default: "tab")
          If ``new`` is 'tab', then opens a new tab.
          If ``new`` is 'window', then opens a new window.
  
  Returns:
      None
docstr_tok: ["Opens","an","app","in","a","browser","window","or","tab",".","This","method","is","useful","for","testing","or","running","Bokeh","server","applications","on","a","local","machine","but","should","not","call","when","running","Bokeh","server","for","an","actual","deployment",".","Args",":","app_path","(","str",")",":","the","app","path","to","open","The","part","of","the","URL","after","the","hostname",":","port",",","with","leading","slash",".","browser","(","str",",","optional",")",":","browser","to","show","with","(","default",":","None",")","For","systems","that","support","it",",","the","*","*","browser","*","*","argument","allows","specifying","which","browser","to","display","in",",","e.g",".","``","safari","''",",","``","firefox","''",",","``","opera","''",",","``","windows-default","''","(","see","the",":","doc",":","`","webbrowser","<","python",":","library\/webbrowser",">","`","module","documentation","in","the","standard","lib","for","more","details",")",".","new","(","str",",","optional",")",":","window","or","tab","(","default",":","``","tab","''",")","If","``","new","``","is","'tab","'",",","then","opens","a","new","tab",".","If","``","new","``","is","'window","'",",","then","opens","a","new","window",".","Returns",":","None"]
code: def show(
      self,
      app_path: str,
      browser: str | None = None,
      new: BrowserTarget = "tab",
  ) -> None:
      """Opens an app in a browser window or tab.
  
      This method is useful for testing or running Bokeh server applications
      on a local machine but should not call when running Bokeh server for
      an actual deployment.
  
      Args:
          app_path (str) : the app path to open
              The part of the URL after the hostname:port, with leading slash.
  
          browser (str, optional) : browser to show with (default: None)
              For systems that support it, the **browser** argument allows
              specifying which browser to display in, e.g. "safari", "firefox",
              "opera", "windows-default" (see the :doc:`webbrowser <python:library/webbrowser>`
              module documentation in the standard lib for more details).
  
          new (str, optional) : window or tab (default: "tab")
              If ``new`` is 'tab', then opens a new tab.
              If ``new`` is 'window', then opens a new window.
  
      Returns:
          None
  
      """
      if not app_path.startswith("/"):
          raise ValueError("app_path must start with a /")
  
      address_string = "localhost"
      if self.address is not None and self.address != "":
          address_string = self.address
      url = (
          f"http://{address_string}:{self.port}{self.prefix}{app_path}"
      )
  
      from bokeh.util.browser import view
  
      view(url, browser=browser, new=new)
  
imports: from __future__ import annotations
  import logging
  import atexit
  import signal
  import socket
  import sys
  from types import FrameType
  from typing import TYPE_CHECKING, Any, Mapping
  from tornado import netutil, version
  from tornado.httpserver import HTTPServer
  from tornado.ioloop import IOLoop
  from ..None import __version__
  from ..core import properties
  from ..core.properties import Bool, Int, Nullable, String
  from ..resources import DEFAULT_SERVER_PORT, server_url
  from ..util.options import Options
  from .tornado import DEFAULT_WEBSOCKET_MAX_MESSAGE_SIZE_BYTES, BokehTornado
  from .util import bind_sockets, create_hosts_allowlist
label_desc: Use image node_id 9 for calling the BaseServer obj's underlying member method code with example usage: obj.show(app_path, browser, new) without return types