mirror of
https://github.com/velocitatem/cvfs.git
synced 2026-05-31 16:53:38 +00:00
Fix parent SQLAlchemy type annotation again
This commit is contained in:
@@ -42,7 +42,7 @@ class CvVersion(Base, IdentifierMixin, TimestampMixin):
|
||||
metadata_json: Mapped[dict | None] = mapped_column(JSONB, default=dict)
|
||||
|
||||
document: Mapped[CvDocument] = relationship("CvDocument", back_populates="versions")
|
||||
parent: Mapped["CvVersion"] | None = relationship(
|
||||
parent: Mapped["CvVersion | None"] = relationship(
|
||||
"CvVersion", remote_side="[CvVersion.id]"
|
||||
)
|
||||
patches: Mapped[list["CvPatch"]] = relationship("CvPatch", back_populates="version")
|
||||
|
||||
Reference in New Issue
Block a user