From b4a0d6ac3982621bf72aec7f0536d0d283446525 Mon Sep 17 00:00:00 2001 From: xuyonghao <898441624@qq.com> Date: 星期四, 14 十一月 2024 19:55:46 +0800 Subject: [PATCH] log改为data --- app/config/config.py | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/app/config/config.py b/app/config/config.py index 87c05a3..2d7bdf2 100644 --- a/app/config/config.py +++ b/app/config/config.py @@ -8,8 +8,13 @@ sgb_websocket_url: str = '' fwr_base_url: str = '' database_url: str = '' + sgb_db_url: str = '' + fwr_db_url: str = '' + fetch_sgb_agent: str = '' + fetch_fwr_agent: str = '' PUBLIC_KEY: str PRIVATE_KEY: str + def __init__(self, **kwargs): # Check if all required fields are provided and set them for field in self.__annotations__.keys(): -- Gitblit v1.8.0