mydatascraper/competitor_compare
0
1from pydantic_settings import BaseSettings
2
3
4class Settings(BaseSettings):
5 API_TITLE: str = "Grocery Price Comparison API"
6 API_VERSION: str = "1.0.0"
7 REQUEST_TIMEOUT: int = 15
8 PLAYWRIGHT_TIMEOUT: int = 20000 # ms
9 MAX_RESULTS_PER_RETAILER: int = 5
10
11 class Config:
12 env_file = ".env"
13 extra = "allow"
14
15
16settings = Settings()