Skip to content

Commit

Permalink
Remove declarative mapping from imperatively mapped `LibraryDatasetDa…
Browse files Browse the repository at this point in the history
…tasetAssociation` class

See #18773 (review)
  • Loading branch information
nsoranzo committed Sep 11, 2024
1 parent 37e1270 commit f4297f5
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions lib/galaxy/model/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5979,11 +5979,8 @@ def to_dict(self, view="collection"):


class LibraryDatasetDatasetAssociation(DatasetInstance, HasName, Serializable):
message: Mapped[Optional[str]] = mapped_column(TrimmedString(255))
tags: Mapped[List["LibraryDatasetDatasetAssociationTagAssociation"]] = relationship(
order_by=lambda: LibraryDatasetDatasetAssociationTagAssociation.id,
back_populates="library_dataset_dataset_association",
)
message: Mapped[Optional[str]]
tags: Mapped[List["LibraryDatasetDatasetAssociationTagAssociation"]]

def __init__(
self,
Expand Down

0 comments on commit f4297f5

Please sign in to comment.