Skip to content

Commit 684256a

Browse files
authored
⬆️ Update SQLModel to version >=0.0.21 (#1275)
1 parent 6606bfc commit 684256a

3 files changed

Lines changed: 47 additions & 61 deletions

File tree

backend/app/core/config.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class Settings(BaseSettings):
3434
DOMAIN: str = "localhost"
3535
ENVIRONMENT: Literal["local", "staging", "production"] = "local"
3636

37-
@computed_field # type: ignore[misc]
37+
@computed_field # type: ignore[prop-decorator]
3838
@property
3939
def server_host(self) -> str:
4040
# Use HTTPS for anything other than local development
@@ -54,7 +54,7 @@ def server_host(self) -> str:
5454
POSTGRES_PASSWORD: str = ""
5555
POSTGRES_DB: str = ""
5656

57-
@computed_field # type: ignore[misc]
57+
@computed_field # type: ignore[prop-decorator]
5858
@property
5959
def SQLALCHEMY_DATABASE_URI(self) -> PostgresDsn:
6060
return MultiHostUrl.build(
@@ -84,7 +84,7 @@ def _set_default_emails_from(self) -> Self:
8484

8585
EMAIL_RESET_TOKEN_EXPIRE_HOURS: int = 48
8686

87-
@computed_field # type: ignore[misc]
87+
@computed_field # type: ignore[prop-decorator]
8888
@property
8989
def emails_enabled(self) -> bool:
9090
return bool(self.SMTP_HOST and self.EMAILS_FROM_EMAIL)

backend/poetry.lock

Lines changed: 43 additions & 57 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

backend/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jinja2 = "^3.1.4"
2020
alembic = "^1.12.1"
2121
httpx = "^0.25.1"
2222
psycopg = {extras = ["binary"], version = "^3.1.13"}
23-
sqlmodel = "^0.0.20"
23+
sqlmodel = "^0.0.21"
2424
# Pin bcrypt until passlib supports the latest
2525
bcrypt = "4.0.1"
2626
pydantic-settings = "^2.2.1"

0 commit comments

Comments
 (0)