diff --git a/lib/galaxy/model/__init__.py b/lib/galaxy/model/__init__.py index 4cb9358961c9..93ee001aed73 100644 --- a/lib/galaxy/model/__init__.py +++ b/lib/galaxy/model/__init__.py @@ -6409,7 +6409,7 @@ def attribute_columns(column_collection, attributes, nesting_level=None): for entity in return_entities: q = q.add_columns(entity) if entity == DatasetCollectionElement: - q = q.filter(entity.id == dce.c.id) # type:ignore[arg-type] + q = q.filter(entity.id == dce.c.id) q = q.order_by(*order_by_columns) return q