mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-16 04:35:49 +00:00
💚 Fix pytest
This commit is contained in:
parent
15bc2b2724
commit
acd7e352fd
@ -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_"
|
||||
|
Loading…
Reference in New Issue
Block a user