Replies: 2 comments 4 replies
-
I've noticed the same thing. To add to your report: I've tested with python versions |
Beta Was this translation helpful? Give feedback.
3 replies
-
I proposed a fix here: #814 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First Check
Commit to Help
Example Code
Description
This issue only happens with Python ≤ 3.8 because as of py39,
typing_extension.Annotated
just usestyping.Annotated
in https://github.com/python/typing_extensions/blob/c79c561ec62a09e5a62d14c12ccae4d7cb273da0/src/typing_extensions.py#L1167-L1174.The above is taken from the official tutorial and adding
from __future__ import annotations
to its first line. And then running the above code gives the following error:Operating System
Windows
Operating System Details
No response
Typer Version
0.12.3
Python Version
3.8
Additional Context
venv packages:
Beta Was this translation helpful? Give feedback.
All reactions