Skip to content
Snippets Groups Projects
Commit 482b552e authored by Timothe Jost's avatar Timothe Jost
Browse files

fixed status string value to numeric value

parent 09d554e1
No related branches found
No related tags found
No related merge requests found
Pipeline #127827 passed
__version__ = "0.0.54"
__version__ = "0.0.55"
from . import loggs
from .pipes import *
......
......@@ -241,9 +241,7 @@ class CeleryTaskRecord(dict):
app: "Celery", task_model: type, task_name: str, pipeline_name: str, session: object, extra=None, **kwargs
):
new_task = task_model(
name=task_name, session=session, arguments=kwargs, status="Waiting", executable=pipeline_name
)
new_task = task_model(name=task_name, session=session, arguments=kwargs, status=25, executable=pipeline_name)
new_task.save()
task_dict = new_task.__dict__.copy()
......
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