add plugin loading using json/toml

This commit is contained in:
yanyongyu
2021-02-24 17:48:08 +08:00
parent 869df38238
commit eb8e5aa39d
8 changed files with 65 additions and 5 deletions

View File

@ -181,6 +181,14 @@ def load_all_plugins(module_path: Set[str],
...
def load_from_json(file_path: str, encoding: str = ...) -> Set[Plugin]:
...
def load_from_toml(file_path: str, encoding: str = ...) -> Set[Plugin]:
...
def load_builtin_plugins(name: str = ...):
...