We abuse the object description here to store the desired file path.
LOL, yep that would work, I'm assuming you have some infrastructure library that does this hack for you, but really cool way around it 🙂
And last but not least, for dictionary for example, it would be really cool if one could do:
Hmm what you will end up now is the following behaviour,my_other_config['bar']
will hold a copy of my_config
, if you clone the Task and change "my_config" it will have no effct because the assignment my_other_config['bar']=my_config
is Ignored when running remotely
But if you want to be able to change my_other_config
you need to do: task.connect_configuration(my_other_config, name=other_name)
, which will put the configuration into my_other_config
dict, but will allow you to change it as you wishmy_other_config['bar'] = my_config # Creates the link automatically between the dictionaries
The difficulty here is to create the "link" between them, but it is possible, and would actually be Very cool, I'm totally with you