Skip to content

Commit

Permalink
Add ORM relationship to annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
marcospri committed Sep 13, 2023
1 parent b009353 commit 3653b53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions h/models/annotation_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class AnnotationMetadata(Base):
nullable=False,
unique=True,
)
annotation = sa.orm.relationship("Annotation")

data = sa.Column(
MutableDict.as_mutable(pg.JSONB),
Expand Down

0 comments on commit 3653b53

Please sign in to comment.