From acd7e352fd168a913e9f10e1bce8889ec7f7a88a Mon Sep 17 00:00:00 2001 From: xtaodada Date: Fri, 4 Nov 2022 18:07:11 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20Fix=20pytest?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/config.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/config.py b/core/config.py index 0a42ab48..de838e33 100644 --- a/core/config.py +++ b/core/config.py @@ -37,9 +37,9 @@ class ConfigUser(BaseModel): class MySqlConfig(Settings): host: str = "127.0.0.1" port: int = 3306 - username: str - password: str - database: str + username: str = None + password: str = None + database: str = None class Config(Settings.Config): env_prefix = "db_"