Now that Unpack exists (https://peps.python.org/pep-0692/), it's possible to reduce some of the boilerplate around the type signatures of connect.
So fix that, which also fixes a subtle error in the current set of typing rules: retry_timeout was never added to connect even though it's supported just fine.
Now that
Unpack
exists (https://peps.python.org/pep-0692/), it's possible to reduce some of the boilerplate around the type signatures ofconnect
.So fix that, which also fixes a subtle error in the current set of typing rules:
retry_timeout
was never added toconnect
even though it's supported just fine.