Update task
update(args)
Update task with TruTaskClient.
task.update(
alias ="my_task",
script_path="task_v2.py",
local_file=False
)
Parameters
Param | Type | Description | Required |
---|---|---|---|
alias | str | Unique value to identify task | True |
title | str | Title of task | False |
task_type | Task Type | Type of the task | False |
script_path | str | Python script | False |
requirements_path | str | Text file with needed requirements | False |
description | str | Description for task | False |
inputs | Tru Inputs | Inputs of the task | False |
outputs | Tru Outputs | Inputs of the task | False |
local_file | bool | It means you are uploading Script and Requirements Path locally, or False if you want to get them from TruStorage | False, default True |