bec_lib.dap_plugin_objects.DAPPluginObjectBase#
- class DAPPluginObjectBase(service_name: str, plugin_info: dict, client: BECClient = None, auto_run_supported: bool = False, service_info: dict = None)[source]#
Bases:
object
Base class for DAP plugin objects. This class should not be used directly. Instead, use one of the derived classes.
- Parameters:
service_name (str) – The name of the service.
plugin_info (dict) – Information about the plugin.
client (BECClient, optional) – The BEC client. Defaults to None.
auto_run_supported (bool, optional) – Whether the plugin supports auto run. Defaults to False.
service_info (dict, optional) – Information about the service. Defaults to None.
result_cls (type, optional) – The class to use for the result of the plugin. Defaults to None.
Methods