Skip to main content

Update task

update(args)

Update task with TruTaskClient.

task.update(
alias ="my_task",
script_path="task_v2.py",
local_file=False
)

Parameters

ParamTypeDescriptionRequired
aliasstrUnique value to identify taskTrue
titlestrTitle of taskFalse
task_typeTask TypeType of the taskFalse
script_pathstrPython scriptFalse
requirements_pathstrText file with needed requirementsFalse
descriptionstrDescription for taskFalse
inputsTru InputsInputs of the taskFalse
outputsTru OutputsInputs of the taskFalse
local_fileboolIt means you are uploading Script and Requirements Path locally, or False if you want to get them from TruStorageFalse, default True