supported_file_extensions

glotaran.plugin_system.base_registry.supported_file_extensions(method_names: str | Sequence[str], plugin_registry_keys: str | Sequence[str], get_plugin_function: Callable[[str], GenericPluginInstance | type[GenericPluginInstance]], base_class: type[GenericPluginInstance]) Generator[str, None, None][source]

Get file extensions for plugins that support all methods in method_names.

Parameters:
  • method_names (str | list[str]) – Name|s of the method|s.

  • plugin_registry_keys (str | list[str]) – Keys the plugins are registered under (e.g. return value of the implementation of func:registered_plugins)

  • get_plugin_function (Callable[[str], GenericPluginInstance | type[GenericPluginInstance]]) – Function to get plugin from plugin registry.

  • base_class (type[GenericPluginInstance]) – Base class the plugin inherited from.

Yields:

Generator[str, None, None] – File extension supported by all methods in method_names.