Skip to content

Commit

Permalink
Proper subclassing of ModelManager generic class
Browse files Browse the repository at this point in the history
  • Loading branch information
nsoranzo committed Jan 22, 2025
1 parent db98387 commit 2dac49b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/galaxy/managers/hdcas.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def set_collection_attributes(dataset_element, *payload):

# TODO: to DatasetCollectionInstanceManager
class HDCAManager(
base.ModelManager,
base.ModelManager[model.HistoryDatasetCollectionAssociation],
secured.AccessibleManagerMixin,
secured.OwnableManagerMixin,
deletable.PurgableManagerMixin,
Expand Down
2 changes: 1 addition & 1 deletion lib/galaxy/managers/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
from galaxy.managers.base import OrmFilterParsersType


class DynamicToolManager(ModelManager):
class DynamicToolManager(ModelManager[model.DynamicTool]):
"""Manages dynamic tools stored in Galaxy's database."""

model_class = model.DynamicTool
Expand Down

0 comments on commit 2dac49b

Please sign in to comment.