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.
25 lines
489 B
Python
25 lines
489 B
Python
from pydantic_settings import BaseSettings
|
|
|
|
|
|
class Settings(BaseSettings):
|
|
google_project_id: str
|
|
google_location: str = "us-central1"
|
|
|
|
# Database -> Retirar antes de subir para a nuvem
|
|
db_host: str
|
|
db_port: int = 3306
|
|
db_user: str
|
|
db_password: str
|
|
db_name: str
|
|
|
|
mockaroo_api_key: str
|
|
mockaroo_base_url: str = "https://api.mockaroo.com/api"
|
|
use_mockaroo_writes: bool = False
|
|
|
|
|
|
class Config:
|
|
env_file = ".env"
|
|
|
|
|
|
settings = Settings()
|