Skip to content

Commit

Permalink
need to pass defaults even if they get reassigned later
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaellaude committed Jul 20, 2024
1 parent 7646b12 commit 166dc3d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions backend/app/core/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ def server_host(self) -> str:

# Postgres

POSTGRES_SCHEME: str
POSTGRES_SERVER: str | None
POSTGRES_SCHEME: str = "postgresql+psycopg"
POSTGRES_SERVER: str | None = "localhost"
POSTGRES_PORT: int | None = 5432
POSTGRES_USER: str | None
POSTGRES_PASSWORD: str | None
POSTGRES_USER: str | None = "postgres"
POSTGRES_PASSWORD: str | None = "changethis"
POSTGRES_DB: str = ""
DATABASE_URL: str | None = None

Expand Down

0 comments on commit 166dc3d

Please sign in to comment.