mirror of
https://github.com/PaiGramTeam/MibooGram.git
synced 2024-11-29 02:57:20 +00:00
💚 Fix pytest
This commit is contained in:
parent
15bc2b2724
commit
acd7e352fd
@ -37,9 +37,9 @@ class ConfigUser(BaseModel):
|
|||||||
class MySqlConfig(Settings):
|
class MySqlConfig(Settings):
|
||||||
host: str = "127.0.0.1"
|
host: str = "127.0.0.1"
|
||||||
port: int = 3306
|
port: int = 3306
|
||||||
username: str
|
username: str = None
|
||||||
password: str
|
password: str = None
|
||||||
database: str
|
database: str = None
|
||||||
|
|
||||||
class Config(Settings.Config):
|
class Config(Settings.Config):
|
||||||
env_prefix = "db_"
|
env_prefix = "db_"
|
||||||
|
Loading…
Reference in New Issue
Block a user