Skip to content
Snippets Groups Projects
Commit bad1af5e authored by Karim Ahmed's avatar Karim Ahmed Committed by Thomas Kluyver
Browse files

Extend docstring

parent 961b14a0
No related branches found
No related tags found
1 merge request!683[Webservice] Restructure database to give more meaningful success/failure information
...@@ -238,7 +238,7 @@ class JobsMonitor: ...@@ -238,7 +238,7 @@ class JobsMonitor:
return r['req_id'] return r['req_id']
def process_request_finished(self, req_id): def process_request_finished(self, req_id):
"""Send notifications that a request has finished""" """Send Kafka notifications and update myMDC that a request has finished."""
krb_id_successes = {r[0]: r[1] for r in self.job_db.execute( krb_id_successes = {r[0]: r[1] for r in self.job_db.execute(
"SELECT karabo_id, success FROM executions WHERE req_id = ?", "SELECT karabo_id, success FROM executions WHERE req_id = ?",
(req_id,) (req_id,)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment