Skip to content

Commit

Permalink
Update lib/galaxy/model/__init__.py
Browse files Browse the repository at this point in the history
Co-authored-by: John Davis <[email protected]>
  • Loading branch information
dannon and jdavcs committed Nov 19, 2024
1 parent e858bf0 commit c98216d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/model/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2982,7 +2982,7 @@ class ChatExchange(Base, RepresentById):
user_id: Mapped[int] = mapped_column(ForeignKey("galaxy_user.id"), index=True, nullable=False)
job_id: Mapped[Optional[int]] = mapped_column(ForeignKey("job.id"), index=True, nullable=True)

user: Mapped["User"] = relationship()
user: Mapped["User"] = relationship(back_populates="chat_exchanges")
messages: Mapped[List["ChatExchangeMessage"]] = relationship(back_populates="chat_exchange", cascade_backrefs=False)

def __init__(self, user, job_id=None, message=None, **kwargs):
Expand Down

0 comments on commit c98216d

Please sign in to comment.