sda.dashboard.callbacks#
Dashboard Callbacks.
Centralized callback registration for the SDA dashboard with flask_caching pipeline architecture.
Pipeline Architecture: 1. Load (& validate) → 2. Filter columns → 3. Filter rows → 4. Plot
Each callback follows the pipeline stages with flask_caching memoization for optimal performance.
Submodules#
Classes#
Simplified callbacks using flask_caching pipeline with Pickle storage. |
Functions#
|
Register download callbacks for Python script generation and Excel file opening. |
|
Register all dashboard callbacks using the flask_caching pipeline architecture. |
Package Contents#
- class sda.dashboard.callbacks.FlaskCacheCallbacks(app, verbose=False)#
Simplified callbacks using flask_caching pipeline with Pickle storage.
- app#
- verbose = False#
- error_handler#
- pipeline#
- register_callbacks()#
Register all callbacks for the flask_caching pipeline.
- clear_cache(test_name=None)#
Clear cache for specific test or all cache.
- get_cache_stats()#
Get cache statistics.
- sda.dashboard.callbacks.register_download_callbacks(app, test_name=None, verbose=False)#
Register download callbacks for Python script generation and Excel file opening.
- Parameters:
app (
dash.Dash) – The Dash application instance.
- sda.dashboard.callbacks.register_all_callbacks(app, test_name, verbose=False)#
Register all dashboard callbacks using the flask_caching pipeline architecture.
- Parameters:
See also
FlaskCacheCallbacksCallback registrar and handlers organized by pipeline stages.