Using Annotated on Lists leads to crash #861
Unanswered
secretrobotron
asked this question in
Questions
Replies: 1 comment
-
Hi! You have to declare the default value slightly differently with
|
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
Description
While trying to work around this problem, I ran into a new one. I have (I think) used
Annotated
correctly, but when I run the example code, I get this error:If I comment out
test2
, it works fine.The traceback suggests the problem might be within Click, but I'm unsure:
Operating System
macOS
Operating System Details
No response
Typer Version
0.9.4
Python Version
3.11.7
Additional Context
Similar issues:
Beta Was this translation helpful? Give feedback.
All reactions