feat: Criando a classe responsável por setar as varáveis de aceso ao Google Cloud.

main
parent f8ebf04f31
commit bfaf9a37db

@ -0,0 +1,2 @@
GOOGLE_PROJECT_ID=seu-projeto-id
GOOGLE_LOCATION=us-central1

@ -0,0 +1,12 @@
from pydantic_settings import BaseSettings
class Settings(BaseSettings):
google_project_id: str
google_location: str = "us-central1"
class Config:
env_file = ".env"
settings = Settings()
Loading…
Cancel
Save