fix: Upgrade Pydantic and remove manual Postgres URL parsing (#6385)

This commit is contained in:
Michael Genson
2025-10-14 15:52:50 -05:00
committed by GitHub
parent ffe199c083
commit 5de0b48aa9
2 changed files with 124 additions and 120 deletions

View File

@@ -64,7 +64,7 @@ class PostgresProvider(AbstractDBProvider, BaseSettings):
PostgresDsn.build(
scheme="postgresql",
username=self.POSTGRES_USER,
password=urlparse.quote(self.POSTGRES_PASSWORD),
password=self.POSTGRES_PASSWORD,
host=f"{self.POSTGRES_SERVER}:{self.POSTGRES_PORT}",
path=f"{self.POSTGRES_DB or ''}",
)