Skip to content

Commit ed87e3e

Browse files
authored
Merge branch 'main' into dependabot/uv/python-packages-2cbb5f499e
2 parents ea18a84 + c6f9df9 commit ed87e3e

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

docs/release-notes.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Latest Changes
44

5+
### Fixes
6+
7+
* 🐛 Fix type of `__sqlmodel_relationships__`. PR [#1996](https://github.com/fastapi/sqlmodel/pull/1996) by [@svlandeg](https://github.com/svlandeg).
8+
59
### Docs
610

711
* 📝 Update and simplify docs about help and management. PR [#1978](https://github.com/fastapi/sqlmodel/pull/1978) by [@tiangolo](https://github.com/tiangolo).

sqlmodel/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -805,7 +805,7 @@ class SQLModel(BaseModel, metaclass=SQLModelMetaclass, registry=default_registry
805805
# SQLAlchemy needs to set weakref(s), Pydantic will set the other slots values
806806
__slots__ = ("__weakref__",)
807807
__tablename__: ClassVar[str | Callable[..., str]]
808-
__sqlmodel_relationships__: ClassVar[builtins.dict[str, RelationshipProperty[Any]]]
808+
__sqlmodel_relationships__: ClassVar[builtins.dict[str, RelationshipInfo]]
809809
__name__: ClassVar[str]
810810
metadata: ClassVar[MetaData]
811811
__allow_unmapped__ = True # https://docs.sqlalchemy.org/en/20/changelog/migration_20.html#migration-20-step-six

0 commit comments

Comments
 (0)