docs: def _get_module(self, module):
          """Get module."""
  
          if isinstance(module, str):
              mod = importlib.import_module(module)
          for name in ('get_plugin', 'get_filter'):
              attr = getattr(mod, name, None)
              if attr is not None:
                  break
              if name == 'get_filter':
                  util.warn_deprecated("'get_filter' is deprecated. Plugins should use 'get_plugin'.")
          if not attr:
              raise ValueError("Could not find the 'get_plugin' function in module '%s'!" % module)
          return attr()