mootfrost-dev/backend/app/config.py
2023-05-06 17:46:40 +03:00

14 lines
237 B
Python

from datetime import date
from pydantic import BaseSettings
class Config(BaseSettings):
host: str = '127.0.0.1'
port: int = 80
birthdate: date = date(2007, 10, 13)
config = Config(_env_file='.env')
__all__ = ['config']