Fix back_populates typo in Post.authors relationship
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -118,7 +118,7 @@ class Post(Base):
|
|||||||
secondary="post_authors",
|
secondary="post_authors",
|
||||||
primaryjoin="Post.id==post_authors.c.post_id",
|
primaryjoin="Post.id==post_authors.c.post_id",
|
||||||
secondaryjoin="Author.id==post_authors.c.author_id",
|
secondaryjoin="Author.id==post_authors.c.author_id",
|
||||||
back_populates="authors",
|
back_populates="posts",
|
||||||
order_by="PostAuthor.sort_order",
|
order_by="PostAuthor.sort_order",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user