Skip to content

Commit 10fad02

Browse files
committed
Update
1 parent db8664c commit 10fad02

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

backend/app/core/config.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
computed_field,
1212
model_validator,
1313
)
14-
from pydantic_core import MultiHostUrl
1514
from pydantic_settings import BaseSettings, SettingsConfigDict
1615
from typing_extensions import Self
1716

@@ -60,7 +59,7 @@ def all_cors_origins(self) -> list[str]:
6059
@computed_field # type: ignore[prop-decorator]
6160
@property
6261
def SQLALCHEMY_DATABASE_URI(self) -> PostgresDsn:
63-
return MultiHostUrl.build(
62+
return PostgresDsn.build(
6463
scheme="postgresql+psycopg",
6564
username=self.POSTGRES_USER,
6665
password=self.POSTGRES_PASSWORD,

0 commit comments

Comments
 (0)