Fix mypy error (surfaced after merge)

This commit is contained in:
John Davis
2024-06-07 17:03:50 -04:00
parent bbb10cbf61
commit 189184e2ae
+1 -1
View File
@@ -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