File size: 313 Bytes
37d5f61
 
 
 
7113dc0
37d5f61
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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()