Use __future__.annotations #3047
Unanswered
karpetrosyan
asked this question in
Ideas
Replies: 1 comment 1 reply
-
Yes. 👍 I'm doing this on Starlette now. |
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
-
We can consider using the most recent type annotations to avoid importing types such as
Tuple
,List
,Union
, and many more.Uvicorn
has already switched to the new typing style in this pull request, so I believe we can follow suit and use future.annotations inhttpx
andhttpcore
.Beta Was this translation helpful? Give feedback.
All reactions