Custom type with default does not typecheck #867
Replies: 1 comment
-
Sorry, even though I searched before posting, I've just now seen that this is a duplicate of |
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
Uh oh!
There was an error while loading. Please reload this page.
-
First Check
Commit to Help
Example Code
Description
The above code, which is directly from https://github.com/tiangolo/typer/blob/master/docs_src/parameter_types/custom_types/tutorial001_an.py, does not type check correctly.
Mypy gives:
Operating System
macOS
Operating System Details
No response
Typer Version
0.12.3
Python Version
3.12.3
Additional Context
mypy version 1.10.0
Beta Was this translation helpful? Give feedback.
All reactions