Skip to content

Commit

Permalink
app: add pydantic_settings to access env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
stintel committed Jan 10, 2024
1 parent 47e08d0 commit 6d4c6ea
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/settings.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from pydantic_settings import BaseSettings


class Settings(BaseSettings):
was_version: str = "unknown"


settings = Settings()

0 comments on commit 6d4c6ea

Please sign in to comment.