Skip to content

Commit

Permalink
Fix relationship mapping issues for Node.links
Browse files Browse the repository at this point in the history
  • Loading branch information
smsearcy committed Jul 25, 2024
1 parent 99d143b commit 7b3ecfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meshinfo/models/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class Node(Base):
default=pendulum.now, onupdate=pendulum.now
)

links: Mapped["Link"] = relationship(
links: Mapped[list["Link"]] = relationship(
foreign_keys="Link.source_id", back_populates="source"
)

Expand Down

0 comments on commit 7b3ecfb

Please sign in to comment.