Get a plugin :param bundle_id: the bundle id. :param plugin_id: the plugin id. :return: the plugin or None if not found.
(bundle_id: str, plugin_id: str)
| 148 | |
| 149 | |
| 150 | def get_plugin(bundle_id: str, plugin_id: str) -> Optional[Plugin]: |
| 151 | """ |
| 152 | Get a plugin |
| 153 | |
| 154 | :param bundle_id: the bundle id. |
| 155 | :param plugin_id: the plugin id. |
| 156 | :return: the plugin or None if not found. |
| 157 | """ |
| 158 | return _plugin_dict.get(f"{bundle_id}:{plugin_id}") |
| 159 | |
| 160 | |
| 161 | def i18n_text( |
no test coverage detected