Closed alexanderlobov closed 3 years ago
Seems to be related to #62
Thanks fo rposting @alexanderlobov , I'll take a good look at this this week and get back to you.
Ok @alexanderlobov Sorry I forgot to get back to you. This is expected behaviour from argparse: Lists should be passed using spaces as the separator. Passing in brackets doesn't work.
For example: python main.py --int_list 1 2
will give you what you want.
Closing this, feel free to reopen if needed.
Describe the bug List[int] parsed as a single value.
To Reproduce
Expected behavior A clear and concise description of what you expected to happen.
Actual behavior
Desktop (please complete the following information):
Additional context The parsing works correct if I add second instance of the
Opts
to the arguments and useConflictResolution.ALWAYS_MERGE
: