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
{{ task.started_at.strftime('%Y-%m-%d %H:%M:%S') }}
Finished at
{% if task.finished_at %} {{ task.finished_at.strftime('%Y-%m-%d %H:%M:%S') }} {% else %} Not finished yet {% endif %}
Duration
{% if task.finished_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 %}Task result
Information about result and errors of task
Result
{% if task.result %}{{ task.result | tojson(indent=2) }}
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 %}