shyft.dashboard.examples.gates

Classes

CompGatesExample(thread_pool[, app_kwargs])

Init of base app

class shyft.dashboard.examples.gates.CompGatesExample(thread_pool, app_kwargs=None)[source]

Bases: AppBase

Init of base app

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

  • app_kwargs (Dict[str, Any] | None) – Optional keyword arguments provided to the app through the start_bokeh_apps methods

__init__(thread_pool, app_kwargs=None)[source]

Init of base app

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

  • app_kwargs (Dict[str, Any] | None) – 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, logger=None)[source]

This function returns the full page layout for the app

Parameters:
  • doc (bokeh.document.Document)

  • logger (LoggerBox | None)

Return type:

bokeh.layouts.LayoutDOM