Fix back_populates typo in Post.authors relationship

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-01 13:36:18 +00:00
parent 382d1b7c7a
commit cfe66e5342

View File

@@ -118,7 +118,7 @@ class Post(Base):
secondary="post_authors",
primaryjoin="Post.id==post_authors.c.post_id",
secondaryjoin="Author.id==post_authors.c.author_id",
back_populates="authors",
back_populates="posts",
order_by="PostAuthor.sort_order",
)