We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The docs for TCPConnector https://docs.aiohttp.org/en/stable/client_reference.html#tcpconnector say that the limit argument can be None but in the code it's annotated with type int:
TCPConnector
limit
None
int
aiohttp/aiohttp/connector.py
Line 744 in a9f4746
N/A
3.10
stable
Client
No response
The text was updated successfully, but these errors were encountered:
This one says 0:
0
Line 280 in a9f4746
So, should probably update the documentation to that. The code appears to only check if limit, so both 0 and None should work at runtime.
if limit
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the bug
The docs for
TCPConnector
https://docs.aiohttp.org/en/stable/client_reference.html#tcpconnector say that thelimit
argument can beNone
but in the code it's annotated with typeint
:aiohttp/aiohttp/connector.py
Line 744 in a9f4746
To Reproduce
N/A
Expected behavior
N/A
Logs/tracebacks
Python Version
3.10
aiohttp Version
stable
multidict Version
N/A
yarl Version
N/A
OS
N/A
Related component
Client
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: