Commit b20dab40 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Improved proc output for cli command. [skip ci]

parent f3fff8dd
Pipeline #45323 skipped
......@@ -301,6 +301,9 @@ class Proc(Document, metaclass=ProcMetaclass):
def __str__(self):
return 'proc celery_task_id=%s worker_host=%s' % (self.celery_task_id, self.worker_host)
def task(func):
......@@ -291,7 +291,7 @@ class Calc(Proc):
def __str__(self):
return 'calc proc calc_id=%s upload_id%s' % (self.calc_id, self.upload_id)
return 'calc %s calc_id=%s upload_id%s' % (super().__str__(), self.calc_id, self.upload_id)
class Upload(Proc):
......@@ -646,4 +646,4 @@ class Upload(Proc):
return result
def __str__(self):
return 'upload proc upload_id%s' % self.upload_id
return 'upload %s upload_id%s' % (super().__str__(), self.upload_id)
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