Replies: 4 comments
-
|
Hey Any update on that? |
Beta Was this translation helpful? Give feedback.
-
|
Any update? |
Beta Was this translation helpful? Give feedback.
-
|
No Updates so far. |
Beta Was this translation helpful? Give feedback.
-
|
Also having this issue. Was trying to track down where the prompt is being generated from, and it may be underlying behaviour from Click https://click.palletsprojects.com/en/8.0.x/options/#prompting
From some debugging - seems the source of the error is here.... Seems that in the case of 'option with prompt' - seems like the arg will always come through as str and fail here. ['param1','param21','param3'] Not happy about it, as the input experience is brittle, and becomes 'interactive' by using typer.prompt - but it's functional. Would be good if more of Click's underlying functionality around types / specific parsers could be surfaced in Typer. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
First Check
Commit to Help
Example Code
Description
When I run the example without passing any arguments, I cannot pass multiple arguments to the prompt for
multiplethat satisfies the script. How must I format these at the prompt?Example:
Operating System
macOS
Operating System Details
No response
Typer Version
0.4.0
Python Version
Python 3.10.1
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions