Skip to content

Commit

Permalink
Fix unit tests? Adapter stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Jan 20, 2025
1 parent cf4c8e8 commit de0439f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/galaxy/model/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2415,7 +2415,7 @@ class JobToInputDatasetAssociation(Base, RepresentById):
dataset_id: Mapped[int] = mapped_column(ForeignKey("history_dataset_association.id"), index=True, nullable=True)
dataset_version: Mapped[Optional[int]]
name: Mapped[str] = mapped_column(String(255), nullable=True)
adapter: Mapped[Dict[str, Any]] = mapped_column(JSONType)
adapter: Mapped[Optional[Dict[str, Any]]] = mapped_column(JSONType, nullable=True)
dataset: Mapped["HistoryDatasetAssociation"] = relationship(lazy="joined", back_populates="dependent_jobs")
job: Mapped["Job"] = relationship(back_populates="input_datasets")

Expand Down Expand Up @@ -2458,7 +2458,7 @@ class JobToInputDatasetCollectionAssociation(Base, RepresentById):
ForeignKey("history_dataset_collection_association.id"), index=True, nullable=True
)
name: Mapped[str] = mapped_column(String(255), nullable=True)
adapter: Mapped[Dict[str, Any]] = mapped_column(JSONType)
adapter: Mapped[Optional[Dict[str, Any]]] = mapped_column(JSONType, nullable=True)
dataset_collection: Mapped["HistoryDatasetCollectionAssociation"] = relationship(lazy="joined")
job: Mapped["Job"] = relationship(back_populates="input_dataset_collections")

Expand All @@ -2477,7 +2477,7 @@ class JobToInputDatasetCollectionElementAssociation(Base, RepresentById):
ForeignKey("dataset_collection_element.id"), index=True, nullable=True
)
name: Mapped[str] = mapped_column(Unicode(255), nullable=True)
adapter: Mapped[Dict[str, Any]] = mapped_column(JSONType)
adapter: Mapped[Optional[Dict[str, Any]]] = mapped_column(JSONType, nullable=True)
dataset_collection_element: Mapped["DatasetCollectionElement"] = relationship(lazy="joined")
job: Mapped["Job"] = relationship(back_populates="input_dataset_collection_elements")

Expand Down

0 comments on commit de0439f

Please sign in to comment.