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.
21 lines
364 B
Python
21 lines
364 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
|
|
|
|
|
|
class Config:
|
|
env_file = ".env"
|
|
|
|
|
|
settings = Settings()
|