We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
*args
@call_parse
I am trying to the use the call_parse decorator with *args and I can't seem to figure how to make it work. Here is the function definition,
call_parse
@call_parse def timesheet(*args): pass
When I call the function in the nb, there's no problem,
timesheet(2, 'OH', 3, 'CSDP', 3, 'OR')
however, while calling the functions from the terminal becomes a problem
(base) devengqc@17-CN0065CL-1:~/git/projects/personal$ timesheet --args "2, 'OH', 3, 'CSDP', 3, 'OR'" usage: timesheet [-h] args timesheet: error: argument args: invalid _empty value: "2, 'OH', 3, 'CSDP', 3, 'OR'"
I've tried other combinations as well in the terminal and they don't seem to work. Is there a way around this? Or am I doing something wrong?
The text was updated successfully, but these errors were encountered:
That's not a feature of call_parse at the moment. A PR would be welcome if you'd like to add support for list params.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
I am trying to the use the
call_parse
decorator with*args
and I can't seem to figure how to make it work. Here is the function definition,When I call the function in the nb, there's no problem,
however, while calling the functions from the terminal becomes a problem
I've tried other combinations as well in the terminal and they don't seem to work. Is there a way around this? Or am I doing something wrong?
The text was updated successfully, but these errors were encountered: