trw.reporting.reporting_bokeh_tabs_dynamic_data
¶
Module Contents¶
Classes¶
Detect when a table has been updated by watching at the number of rows, columns and content of specific |
|
Helper class to manage updates of the underlying SQL data for a given table |
Functions¶
|
|
|
Retrieve data from SQL, normalize the data and resolve aliasing ( |
Attributes¶
- trw.reporting.reporting_bokeh_tabs_dynamic_data.logger¶
- trw.reporting.reporting_bokeh_tabs_dynamic_data.create_aliased_table(connection, name, aliased_table_name)¶
- trw.reporting.reporting_bokeh_tabs_dynamic_data.get_data_normalize_and_alias(options, connection, name)¶
Retrieve data from SQL, normalize the data and resolve aliasing (
- Returns
tuple (data, types, type_categories, alias)
- class trw.reporting.reporting_bokeh_tabs_dynamic_data.TableChangedDectector(connection, table_name)¶
Detect when a table has been updated by watching at the number of rows, columns and content of specific rows (first).
- __call__(self)¶
- class trw.reporting.reporting_bokeh_tabs_dynamic_data.TabsDynamicData(doc, options, connection, name, role, creator_fn)¶
Bases:
trw.reporting.bokeh_ui.BokehUi
Helper class to manage updates of the underlying SQL data for a given table
- update(self, options, connection, name, tabs)¶