[Enhance] API query param

- Add support for the `query` param in `GET` requests
This commit is contained in:
Lost-MSth
2022-10-19 20:08:41 +08:00
parent d150553e6b
commit ca03360f0c
3 changed files with 17 additions and 8 deletions

View File

@@ -83,7 +83,7 @@ class Config:
class ConfigManager:
@staticmethod
def load(config):
def load(config) -> None:
for k, v in config.__dict__.items():
if k.startswith('__') or k.endswith('__'):
continue