ploteries.cli_interface.abstract_hook¶
Classes
- class ploteries.cli_interface.abstract_hook.AbstractInterfaceHook¶
- handler_class = None¶
The handler type stored in the figure_defs table, as a class-level property.
- classmethod encoded_class_name()¶
Replaces ‘.’ characters with ‘|’ characters in class paths to make them compatible with Dash element ids.
- abstract classmethod create_callbacks(app_callback: Callable, get_hook: Callable[[str], AbstractInterfaceHook], callback_args: Dict[str, State | Input | Output])¶
This method is called from
create_callbacksto create callbacks for this hook.: param app_callback: Method
dash.Dash.callback()used to decorate callbacks, from the globalAPPobject. : param get_hook: Callable that returns an instance of this class. Will be used within callbacks to process requests. : param callback_args: Dictionary of callback States, Inputs and Outputs.