From 189184e2aecbf52ae99a178fccd985e38ea30fe4 Mon Sep 17 00:00:00 2001 From: John Davis Date: Fri, 7 Jun 2024 17:03:50 -0400 Subject: [PATCH] Fix mypy error (surfaced after merge) --- lib/galaxy/managers/jobs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/managers/jobs.py b/lib/galaxy/managers/jobs.py index ac14b994961..cd91861a740 100644 --- a/lib/galaxy/managers/jobs.py +++ b/lib/galaxy/managers/jobs.py @@ -110,7 +110,7 @@ class JobManager: def index_query( self, trans: ProvidesUserContext, payload: JobIndexQueryPayload - ) -> Optional[sqlalchemy.engine.Result]: + ) -> Optional[sqlalchemy.engine.ScalarResult]: """The caller is responsible for security checks on the resulting job if history_id, invocation_id, or implicit_collection_jobs_id is set. Otherwise this will only return the user's jobs or all jobs if the requesting