mootfrost-dev/backend/app/config.py
2023-05-03 21:36:53 +03:00

14 lines
239 B
Python

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