Replies: 1 comment
-
This is related to #684. The issue was due to compatibility with Cython in Python 3.11 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First Check
Commit to Help
Example Code
Example of working code:
Example of non-functional code:
Description
When using
Annotated
in conjunction with a method decorated with@app.command
in Typer to add subcommands (subcommand istest
in this case), it always generates--<PARAM_NAME>
and--no-<PARAM_NAME>
flags forbool
param and also does not show help message (for any param type). You can use the exact snippets for the example in Boolean CLI Options and use it with@app.command()
to confirm.Operating System
Linux
Operating System Details
No response
Typer Version
0.9.0
Python Version
3.11
Beta Was this translation helpful? Give feedback.
All reactions