Unanswered
Hi Everyone,
Additional Arguments To The Script Execution, Is It Possible? How Can It Be Done?
So At The Moment When My Script Is Being Executed The
PompousBeetle71 the code is executed without arguments, in run-time trains / trains-agent will pass the arguments (as defined on the task) to the argparser. This means you that you get the ability to change them and also type checking 🙂
PompousBeetle71 if you are not using argparser how do you parse the arguments from sys.argv? manually?
If that's the case, post parsing, you can connect a dictionary to the Task and you will have the desired behaviortask.connect(dict_with_arguments_from_argv)
174 Views
0
Answers
4 years ago
one year ago