General Information
Description and general information about the task
Status
{% if task.status == 0 %}In progress {% elif task.status == 1 %}Completed {% elif task.status == 2 %}Failure {% elif task.status == 3 %}Queued {% elif task.status == 4 %}Abandoned {% else %}Unknown{% endif %}Name
{{ task.name }}
Worker
{{ task.worker }}
Task ID
{{ task.id }}Started at
{% if task.started_at %}{{ task.started_at.strftime('%Y-%m-%d %H:%M:%S') }}
{% else %}-
{% endif %}Finished at
{% if task.finished_at %} {{ task.finished_at.strftime('%Y-%m-%d %H:%M:%S') }} {% else %} - {% endif %}
Duration
{% if task.finished_at and task.started_at %}{{ (task.finished_at - task.started_at).total_seconds() | round(3) }} seconds
{% else %}-
{% endif %}Task arguments
Information about positional and keyword arguments of task
Positional arguments
{% if task.args %}{{ task.args | tojson(indent=2) }}
No arguments provided
{% endif %}Keyword arguments
{% if task.kwargs %}{{ task.kwargs | tojson(indent=2) }}
No keyword arguments provided
{% endif %}Labels
{% if task.labels %}{{ task.labels | tojson(indent=2) }}
No labels provided
{% endif %}Task result
Information about result and errors of task
Result
{% if task_result %}{{ task_result | safe }}
Task is still in progress
{% elif task.status == 3 %}Task was queued, no result available
{% else %}No result data available
{% endif %}Error
{% if task.status == 2 %}{{ task.error }}
No error information available
{% endif %}