Skip to content
Discussion options

You must be logged in to vote

This is definitely not a bug (Typer hasn't claimed the support for this).

As for adding this support - as it was already mentioned, we can already declare arguments that accept multiple values in a different way.

If the point is to make this function reusable without Typer, then I think you can add a thin wrapper that accepts *args and passes them as list to the wrapped function

Replies: 13 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
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
None yet
8 participants
Converted from issue

This discussion was converted from issue #173 on February 18, 2026 11:15.