sda.dashboard.callbacks.flask_cache_callbacks#

Flask-Caching Based Callback Implementation.


This module implements simplified callbacks using the flask_caching pipeline to eliminate callback loops and provide clean data flow.

Benefits: 1. No callback loops - each function memoized independently with Pickle 2. Clean separation of concerns 3. Automatic cache invalidation 4. Production-ready scaling 5. Fixes column selection bug by proper parameter passing 6. Efficient Pickle-based caching for local use

Classes#

FlaskCacheCallbacks

Simplified callbacks using flask_caching pipeline with Pickle storage.

Module Contents#

class sda.dashboard.callbacks.flask_cache_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.