Confusion about passing tuple-type values to the timeout parameter of the Timeout class
#3779
Unanswered
marigoold
asked this question in
Potential Issue
Replies: 0 comments
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.
-
In this code section, it appears that the
timeoutparameter can accept a tuple of length 2 to 4. However, when I do this, the type system reports an error.Reproduction steps:
test_httpx_timeout.pymypy test_httpx_timeout.pyand I get the following error:Beta Was this translation helpful? Give feedback.
All reactions