Fix ambiguous SQLAlchemy join for AI generation run relationships
This commit is contained in:
@@ -223,6 +223,7 @@ class Item(Base):
|
||||
generation_run: Mapped[Union["AIGenerationRun", None]] = relationship(
|
||||
"AIGenerationRun",
|
||||
back_populates="generated_items",
|
||||
foreign_keys=[generation_run_id],
|
||||
lazy="selectin",
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user