f1tness_parser/app/config.py

14 lines
No EOL
267 B
Python

from pydantic_settings import BaseSettings
from typing import Optional
class Settings(BaseSettings):
app_name: str = "Fitness Parser API"
version: str = "0.1.0"
debug: bool = False
class Config:
env_file = ".env"
settings = Settings()