Skip to content

plugins

frog.hardware.plugins ¤

Plugins for the hardware module.

Functions¤

load_all_plugins() ¤

Load all the device types from this module and its submodules.

Returns:

Type Description
list[str]

A list of imported plugins

Source code in frog/hardware/plugins/__init__.py
24
25
26
27
28
29
30
def load_all_plugins() -> list[str]:
    """Load all the device types from this module and its submodules.

    Returns:
        A list of imported plugins
    """
    return list(_import_recursively(sys.modules[__name__]))