12 lines
277 B
Python
12 lines
277 B
Python
from pydantic_settings import BaseSettings
|
|
|
|
|
|
class Settings(BaseSettings):
|
|
DATABASE_URL: str = "mysql+pymysql://root:root@localhost:3306/db_wisdom_cube?charset=utf8mb4"
|
|
DB_POOL_SIZE: int = 5
|
|
DB_MAX_OVERFLOW: int = 10
|
|
DEBUG: bool = False
|
|
|
|
|
|
settings = Settings()
|