Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert lists to repeated arguments #2

Open
levitsky opened this issue Apr 6, 2020 · 0 comments
Open

Convert lists to repeated arguments #2

levitsky opened this issue Apr 6, 2020 · 0 comments

Comments

@levitsky
Copy link

levitsky commented Apr 6, 2020

Hi, thank you for this software.
I am trying to convert a Namespace from argparse back into arguments. It works really well but I have this one repeatable argument implemented as follows:

parser.add_argument('--foo', action='append')

Hence, in the namespace I have a list under 'foo'. Would be cool if I could then get the repeated argument back from argunparse. Do you think it would make sense to add this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant