def show_session(session_id=None, url='default', app_path='/', session=None, browser=None, new='tab', controller=None):
 if (session is not None):
  server_url = server_url_for_websocket_url(session._connection.url)
  session_id = session.id
 else:
  coords = _SessionCoordinates(dict(session_id=session_id, url=url, app_path=app_path))
  server_url = coords.server_url
  session_id = coords.session_id
 if (controller is None):
  from bokeh.util.browser import get_browser_controller
  controller = get_browser_controller(browser=browser)
 controller.open(((server_url + '?bokeh-session-id=') + _encode_query_param(session_id)), new=_new_param[new])

def show_session ( session_id = None , url = 'default' , app_path = '/' , session = None , browser = None , new = 'tab' , controller = None ) : if ( session is not None ) : server_url = server_url_for_websocket_url ( session . _connection . url ) session_id = session . id else : coords = _SessionCoordinates ( dict ( session_id = session_id , url = url , app_path = app_path ) ) server_url = coords . server_url session_id = coords . session_id if ( controller is None ) : from bokeh . util . browser import get_browser_controller controller = get_browser_controller ( browser = browser ) controller . open ( ( ( server_url + '?bokeh-session-id=' ) + _encode_query_param ( session_id ) ) , new = _new_param [ new ] )
open a browser displaying a session document .