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