bug: click_type with List[CustomType] adds a nested list #1393
Unanswered
FredrikM97
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
First Check
Commit to Help
Example Code
Description
'[{"enabled": true, "lock_time": "08:00", "unlock_time": "18:00"}]'[Curfew(enabled=True, lock_time=08:00, unlock_time=18:00)].[[Curfew(enabled=True, lock_time=08:00, unlock_time=18:00)]]state: List[Curfew] = typer.Option(tostate: Curfew = typer.Option(the expected return is givenTry the code with:
Operating System
macOS
Operating System Details
Running in docker
Typer Version
0.19.2
Python Version
Python 3.13.7
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions