Optional Tuples break typer #667
Answered
by
Asthestarsfalll
multimeric
asked this question in
Questions
-
First Check
Commit to Help
Example Codefrom typing import Optional, Tuple
import typer
def main(arg: Optional[Tuple[int]] = None):
pass
typer.run(main)
DescriptionTyper seems to hit this error when it encounters Operating SystemmacOS Operating System DetailsMonterey, 12.6 Typer Version0.9.0 Python Version3.9.16 Additional ContextNo response |
Beta Was this translation helpful? Give feedback.
Answered by
Asthestarsfalll
Mar 23, 2024
Replies: 2 comments 3 replies
-
Same problem |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi! To configure an option that expects multiple values, you can use a
or with
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I submit a PR to support this