agh123's picture
refactor the app to use firestore
7113dc0
raw
history blame contribute delete
313 Bytes
from pydantic_settings import BaseSettings
from functools import lru_cache
class Settings(BaseSettings):
FIRESTORE_COLLECTION: str = "benchmarks"
class Config:
case_sensitive = True
env_file = ".env"
@lru_cache()
def get_settings():
return Settings()
settings = get_settings()