mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix typing error: managers.secured
This fixed 58 mypy errors!
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user