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
@tekumara The issue with the code lies in the use of the default argument with click.argument. According to Click's documentation, the default argument is not supported for click.argument, but it is supported for click.option. Therefore, the attempt to set a default value for an argument directly leads to unexpected behavior.
To fix this, you should handle the default value within the command function itself.
I'd like to be able to specify a default for arguments with multiple values.
A currently failing test case:
Fails with:
I'm using click 8.0.3
The text was updated successfully, but these errors were encountered: