Skip to content

Commit

Permalink
Fix first_dataset_element type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed May 31, 2024
1 parent 8dd7a9e commit 99aeade
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 @@ -6507,7 +6507,7 @@ def dataset_elements_and_identifiers(self, identifiers=None):
return elements

@property
def first_dataset_element(self) -> Optional[HistoryDatasetAssociation]:
def first_dataset_element(self) -> Optional["DatasetCollectionElement"]:
for element in self.elements:
if element.is_collection:
first_element = element.child_collection.first_dataset_element
Expand Down

0 comments on commit 99aeade

Please sign in to comment.