You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working with an application which has to pass arguments to subprocesses. As such, there are upwards of hundreds of possible arguments that could be done as passthrough, but when I try to pass an argument that isn't explicitly defined, parse_args() gives up. I can catch the initial exception, but fetching the arguments later on throw Nothing parsed, no arguments are available..
Is it somehow possible to get argparse to ignore arguments it doesn't recognize?
The text was updated successfully, but these errors were encountered:
I'm working with an application which has to pass arguments to subprocesses. As such, there are upwards of hundreds of possible arguments that could be done as passthrough, but when I try to pass an argument that isn't explicitly defined,
parse_args()
gives up. I can catch the initial exception, but fetching the arguments later on throwNothing parsed, no arguments are available.
.Is it somehow possible to get argparse to ignore arguments it doesn't recognize?
The text was updated successfully, but these errors were encountered: