You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
orquestrador/app/core/settings.py

33 lines
721 B
Python

from pydantic_settings import BaseSettings
class Settings(BaseSettings):
google_project_id: str
google_location: str = "us-central1"
vertex_model_name: str = "gemini-2.5-flash"
db_host: str
db_port: int = 5432
db_user: str
db_password: str
db_name: str
fakerapi_base_url: str = "https://fakerapi.it/api/v2"
fakerapi_locale: str = "pt_BR"
fakerapi_seed: int = 42
fakerapi_products_quantity: int = 50
fakerapi_persons_quantity: int = 120
environment: str = "production"
debug: bool = False
# Cloud SQL
cloud_sql_connection_name: str | None = None
class Config:
env_file = ".env"
extra = "ignore"
settings = Settings()