shyft.dashboard.examples.basic_bokeh_app

Classes

BasicBokeh(thread_pool[, app_kwargs])

class shyft.dashboard.examples.basic_bokeh_app.BasicBokeh(thread_pool, app_kwargs: Dict[str, Any] | None = None)[source]

Bases: AppBase

__init__(thread_pool, app_kwargs: Dict[str, Any] | None = None)[source]

Init of base app

Parameters:
  • thread_pool – Optional thread pool used for async calls within the app

  • app_kwargs – Optional keyword arguments provided to the app through the start_bokeh_apps methods

property name: str

This property returns the name of the app

get_layout(doc: Document, logger: LoggerBox | None = None) LayoutDOM[source]

This function returns the full page layout for the app