hatch.plugin.utils.load_plugin_from_script

hatch.plugin.utils.load_plugin_from_script(path: str, script_name: str, plugin_class: type[EnvironmentCollectorInterface], plugin_id: str) type[EnvironmentCollectorInterface]