Skip to content

Option optional value doesn't work because is_flag is not passed to click properly #873

Answered by tiangolo
iurisilvio asked this question in Questions
Discussion options

You must be logged in to vote

Thanks for pointing this out! I realized it doesn't make sense to have that parameter when it's not really supported in Typer. And I consider it's better to have only the boot type annotation, and if the application code needs a string, then it can check if the bool is True or False, instead of having it as part of the library.

Removing the parameter was done here: #987

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tiangolo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
2 participants