Commit b84f1aca authored by Floreal Cabanettes's avatar Floreal Cabanettes
Browse files

Add docstring

parent 4d74173b
......@@ -1421,6 +1421,12 @@ class JobManager:
log.save()
def _set_analytics_job_status(self, status):
"""
Change status for a job in analytics database
:param status: new status
:type status: str (20)
"""
if self.config.analytics_enabled:
from dgenies.database import Analytics
with Job.connect():
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment