(
module_name: str, controlled_modules: dict[str, str] | None = None
)
| 85 | |
| 86 | |
| 87 | def _module_name_to_plugin_id( |
| 88 | module_name: str, controlled_modules: dict[str, str] | None = None |
| 89 | ) -> str: |
| 90 | plugin_name = _module_name_to_plugin_name(module_name) |
| 91 | if parent_plugin_id := _find_parent_plugin_id(module_name, controlled_modules): |
| 92 | return f"{parent_plugin_id}:{plugin_name}" |
| 93 | return plugin_name |
| 94 | |
| 95 | |
| 96 | def _new_plugin( |
no test coverage detected