{% extends "vcelerytaskrunner/layout.html" %} {% block title %}Task Run{% endblock %} {% block content %}
Use the args
and kwargs
concepts as described for apply_async().
However, the values need to be provided as JSON values.
For a sample task of the signature: def my_task(name, age, location=None)
. To call it
as my_task("John", 28, location="San Francisco")
:
The positional parameters (args) should be: ["John", 28]
The keyword parameters (kwargs) should be: {"location": "San Francisco"}