run
Run a task with the given parameters
def run(
task: TaskTemplate[P, R, F],
args: P.args,
kwargs: P.kwargs
) - > Run
Run a task with the given parameters
Parameters
| Name | Type | Description |
|---|---|---|
| task | TaskTemplate[P, R, F] | task to run |
| args | P.args | args to pass to the task |
| kwargs | P.kwargs | kwargs to pass to the task |
Returns
| Type | Description |
|---|---|
Run | Result of the task |