获取当前系统已加载的所有插件列表。
(cls)
| 53 | |
| 54 | @classmethod |
| 55 | def get_all_plugins(cls) -> List[StegaPyPlugin]: |
| 56 | """获取当前系统已加载的所有插件列表。""" |
| 57 | if not cls._initialized: |
| 58 | cls.load_plugins() |
| 59 | return list(cls._plugins.values()) |
| 60 | |
| 61 | @classmethod |
| 62 | def get_plugins_by_purpose(cls, purpose): |
nothing calls this directly
no test coverage detected