Config with default of None requires type annotation unnecessarily #1730
Answered
by
Kludex
chdsbd
asked this question in
Potential Issue
-
I think we could add another overload to
An extra overload could correctly type this variable as Would you accept a PR to fix this? |
Beta Was this translation helpful? Give feedback.
Answered by
Kludex
Jul 3, 2022
Replies: 1 comment
-
hmmm... Isn't the above this case: Lines 84 to 88 in 25a52fe
But yes... |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
chdsbd
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hmmm... Isn't the above this case:
starlette/starlette/config.py
Lines 84 to 88 in 25a52fe
But yes...