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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
First Check
Commit to Help
Example Code
Description
Hi, running the above script raises
AttributeError: 'bool' object has no attribute 'isidentifier'
This is caused by the
default=False
option in the Option.I use click 8.1.7, and this one works fine:
Also, when I set the default value directly as a default argument it does works :
The docs says that default is supported, but it seems to works with strings, but not with bool.
Operating System
Linux
Operating System Details
Debian Bookworm
Typer Version
0.12.3
Python Version
3.11.2
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions