Get a bundle by bundle_id. :param bundle_id: the bundle id. :return: the bundle or None if not found.
(bundle_id: str)
| 138 | |
| 139 | |
| 140 | def get_bundle(bundle_id: str) -> Optional[Bundle]: |
| 141 | """ |
| 142 | Get a bundle by bundle_id. |
| 143 | |
| 144 | :param bundle_id: the bundle id. |
| 145 | :return: the bundle or None if not found. |
| 146 | """ |
| 147 | return _bundle_dict.get(bundle_id) |
| 148 | |
| 149 | |
| 150 | def get_plugin(bundle_id: str, plugin_id: str) -> Optional[Plugin]: |
no test coverage detected