diff --git a/bioblend/galaxy/dataset_collections/__init__.py b/bioblend/galaxy/dataset_collections/__init__.py index addd84a32..e1dff9b20 100644 --- a/bioblend/galaxy/dataset_collections/__init__.py +++ b/bioblend/galaxy/dataset_collections/__init__.py @@ -33,7 +33,7 @@ def __init__( self.name = name self.type = type if isinstance(elements, dict): - self.elements: List[Union["CollectionElement", "SimpleElement"]] = [ + self.elements: List[Union[CollectionElement, SimpleElement]] = [ HistoryDatasetElement(name=key, id=value) for key, value in elements.values() ] elif elements: