def make_plugins(
    modules: Iterable[str],
    config: TPluginConfig,
) -> Plugins:
    """Construct a Plugins and call plugins.load_from_config() for convenience."""
    plugins = Plugins()
    plugins.load_from_config(modules, config)
    return plugins
Construct a Plugins and call plugins.load_from_config() for convenience.
tests/test_plugins.py