methods_differ_from_baseclass
- glotaran.plugin_system.base_registry.methods_differ_from_baseclass(method_names: str | Sequence[str], plugin: GenericPluginInstance | type[GenericPluginInstance], base_class: type[GenericPluginInstance]) Generator[bool, None, None] [source]
Check if a plugins methods implementation differ from its baseclass.
Based on the assumption that
base_class
didn’t implement the methods (e.g.DataIoInterface
orProjectIoInterface
), this can be used to to create a ‘supported methods’ list.- Parameters:
- Yields:
bool – Whether or not a plugins method differs from the implementation in
base_class
.