sda.dashboard.callbacks ======================= .. py:module:: sda.dashboard.callbacks .. autoapi-nested-parse:: 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 ---------- .. toctree:: :maxdepth: 1 /_api/sda/dashboard/callbacks/flask_cache_callbacks/index /_api/sda/dashboard/callbacks/line/index /_api/sda/dashboard/callbacks/menu_actions/index /_api/sda/dashboard/callbacks/scatter/index Classes ------- .. autoapisummary:: sda.dashboard.callbacks.FlaskCacheCallbacks Functions --------- .. autoapisummary:: sda.dashboard.callbacks.register_download_callbacks sda.dashboard.callbacks.register_all_callbacks Package Contents ---------------- .. py:class:: FlaskCacheCallbacks(app, verbose = False) Simplified callbacks using flask_caching pipeline with Pickle storage. .. py:attribute:: app .. py:attribute:: verbose :value: False .. py:attribute:: error_handler .. py:attribute:: pipeline .. py:method:: register_callbacks() Register all callbacks for the flask_caching pipeline. .. py:method:: clear_cache(test_name = None) Clear cache for specific test or all cache. .. py:method:: get_cache_stats() Get cache statistics. .. py:function:: register_download_callbacks(app, test_name=None, verbose=False) Register download callbacks for Python script generation and Excel file opening. :param app: The Dash application instance. :type app: :py:class:`dash.Dash` .. py:function:: register_all_callbacks(app, test_name, verbose=False) Register all dashboard callbacks using the flask_caching pipeline architecture. :param app: The :class:`dash.Dash` application :type app: :py:class:`dash.Dash` :param test_name: Name(s) of the test(s) to load :type test_name: :py:class:`str`, :py:class:`list` of :py:class:`str`, or :py:obj:`None` :param verbose: Whether to print verbose output :type verbose: :py:class:`bool` .. seealso:: :py:class:`~sda.dashboard.callbacks.flask_cache_callbacks.FlaskCacheCallbacks` Callback registrar and handlers organized by pipeline stages.