nemo_microservices.data_designer.plugin_manager#

Module Contents#

Classes#

API#

class nemo_microservices.data_designer.plugin_manager.PluginManager#

Initialization

get_column_generator_plugin_if_exists(
plugin_name: str,
) data_designer.plugins.plugin.Plugin | None#

Get a column generator plugin by name if it exists.

Args: plugin_name: The name of the plugin to retrieve.

Returns: The plugin if found, otherwise None.

get_column_generator_plugins() list[data_designer.plugins.plugin.Plugin]#

Get all column generator plugins.

Returns: A list of all column generator plugins.

get_plugin_column_types(
enum_type: Type[enum.Enum],
required_resources: list[str] | None = None,
) list[enum.Enum]#

Get a list of plugin column types.

Args: enum_type: The enum type to use for plugin entries. required_resources: If provided, only return plugins with the required resources.

Returns: A list of plugin column types.

inject_into_column_config_type_union(
column_config_type: Type[TypeAlias],
) Type[TypeAlias]#

Inject plugins into the column config type.

Args: column_config_type: The column config type to inject plugins into.

Returns: The column config type with plugins injected.