{% extends "vcelerytaskrunner/layout.html" %} {% block title %}Task Run{% endblock %} {% block content %}
Task invocation completed. The task ID is {{ task_id }}
. NOTE that this only means
the task was invoked. That task may still be running or fail. Check logs for the task ID to see its
run status.
You can run another instance of the task by entering the information below.
Each parameter of the task is shown in the list below with the type as provided by
type hints of the task.
You can provide values for each parameter to invoke the task with. If there is no type hint available,
the type str
is assumed.
Primitive types (such as int
, str
, bool
) work fine. Using only
these types and List[primitive type]
and dict[str, ...]
(basically anything
that can be serialized as JSONs) for your Celery tasks (see note below) will ensure things work
correctly.
Having said that, if you are using the older "pickle" serialization with your Celery setup, some other more sophisticated types are supported with some nuance:
2024-11-24T20:00:00-08:00
).model_validate_json()
.
NOTE on Celery serialization:
If you use non-primitive types for your Celery setup, you should also use a serializer (e.g.
"pickle") that supports the types.
This is not a requirement of this tool but of Celery in general. Recent versions of Celery by default
use the "json" serializer by default and therefore will not support datetime
or custom
types.
{{ error_message }}
.