The easiest if export_task / update_task:
Check the structure returned by export_task, you'll find the entire configuration test there,
then, you can use that to update back the Task.
Partial update is also supported...
I mean the config file. Can I change the parameters before executing the draft task? Or do changes to the parameters have to be committed to the git repo before the draft task can be executed?
us the config file connect to the Task via
Can I change the parameters before executing the draft task
Yes you can, after you clone the experiment everything becomes editable, so you can edit the config in the UI.
For example, let's assume I have config.yml, and in my code I do:
my_file = task.connect_configuration('config.yml') with open(my_file, 'rt') as f: ...Then after I clone it in the UI and edit the configuration, when it will be executed remotely,
my_file will contain the content of the configuration as seen in the UI.
Sounds good ?
Thanks! yeah that sounds good. Is there any way to modify the config aside from using the UI?
GiddyTurkey39 do you mean the config file for the Trains Agent itself?
You mean from code externally ?