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
Uh oh!
There was an error while loading. Please reload this page.
-
We can consider using the most recent type annotations to avoid importing types such as
Tuple,List,Union, and many more.Uvicornhas already switched to the new typing style in this pull request, so I believe we can follow suit and use future.annotations inhttpxandhttpcore.Beta Was this translation helpful? Give feedback.
All reactions