sda.dashboard.callbacks.menu_actions ==================================== .. py:module:: sda.dashboard.callbacks.menu_actions .. autoapi-nested-parse:: Download Python Script Callbacks. =============================== Callbacks for downloading Python scripts that reproduce the current dashboard state. Classes ------- .. autoapisummary:: sda.dashboard.callbacks.menu_actions.PipelineState Functions --------- .. autoapisummary:: sda.dashboard.callbacks.menu_actions.register_download_callbacks Module Contents --------------- .. py:class:: PipelineState Standardized pipeline state structure for script generation. .. py:attribute:: test_name :type: Union[str, List[str]] .. py:attribute:: selected_columns :type: List[str] .. py:attribute:: applied_filters :type: Dict[str, List[Any]] .. py:attribute:: plot_type :type: Optional[str] .. py:attribute:: plot_config :type: Dict[str, Any] .. py:attribute:: timestamp :type: float .. py:attribute:: shape :type: List[int] .. py:attribute:: applied :type: bool .. py:method:: from_meta(filtered_data_store, plot_config, filter_allocation_store = None) :classmethod: Create pipeline state from filtered data store and plot configuration. .. 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`