Skip to content

Commit

Permalink
check
Browse files Browse the repository at this point in the history
  • Loading branch information
hutanmihai committed Apr 24, 2024
1 parent 1c3aee3 commit 7147e64
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/src/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class AppSettings(BaseSettings):
database_db: Optional[str] = Field(None, env="DATABASE_DB")
database_url: Union[Optional[PostgresDsn], Optional[str]] = None

# BUILD DB URL
@field_validator("database_url", mode="before")
@classmethod
def assemble_db_connection(cls, v: Optional[str], values: ValidationInfo) -> Any:
Expand Down

0 comments on commit 7147e64

Please sign in to comment.