Skip to content

Commit

Permalink
Merge pull request #13643 from mvdbeek/fix_depends_type_annotation
Browse files Browse the repository at this point in the history
Forward type annotation of depends
  • Loading branch information
jmchilton committed Mar 30, 2022
2 parents 7108638 + 8a656d1 commit 57cb787
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/webapps/galaxy/api/__init__.py
Expand Up @@ -84,7 +84,7 @@ def __init__(self, callable, dep_type):
self.galaxy_type_depends = dep_type


def depends(dep_type: Type[T]) -> Any:
def depends(dep_type: Type[T]) -> T:
def _do_resolve(request: Request):
return get_app().resolve(dep_type)

Expand Down

0 comments on commit 57cb787

Please sign in to comment.