Skip to content

Commit

Permalink
Make copied HistoryDatasetCollectionAssociation relationships view only
Browse files Browse the repository at this point in the history
This avoids potential circular dependency errors.
  • Loading branch information
davelopez committed Oct 16, 2024
1 parent ceef7ca commit 994787c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/galaxy/model/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6892,10 +6892,12 @@ class HistoryDatasetCollectionAssociation(
primaryjoin=copied_from_history_dataset_collection_association_id == id,
remote_side=[id],
uselist=False,
viewonly=True,
back_populates="copied_to_history_dataset_collection_association",
)
copied_to_history_dataset_collection_association = relationship(
"HistoryDatasetCollectionAssociation",
viewonly=True,
back_populates="copied_from_history_dataset_collection_association",
)
implicit_input_collections: Mapped[List["ImplicitlyCreatedDatasetCollectionInput"]] = relationship(
Expand Down

0 comments on commit 994787c

Please sign in to comment.