From 79261dd1f4b042ffc09bcc97645b451737ac256c Mon Sep 17 00:00:00 2001 From: John Davis Date: Wed, 24 Jan 2024 16:27:39 -0500 Subject: [PATCH] Fix typing error: managers.secured This fixed 58 mypy errors! --- lib/galaxy/managers/secured.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/managers/secured.py b/lib/galaxy/managers/secured.py index 30958ceb8c9..20d95b8a821 100644 --- a/lib/galaxy/managers/secured.py +++ b/lib/galaxy/managers/secured.py @@ -40,7 +40,7 @@ class AccessibleManagerMixin: # override in subclasses raise exceptions.NotImplemented("Abstract interface Method") - def get_accessible(self, id: int, user: model.User, **kwargs: Any) -> "Query": + def get_accessible(self, id: int, user: model.User, **kwargs: Any): """ Return the item with the given id if it's accessible to user, otherwise raise an error.