Skip to content
New issue

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

TooManyRedirects is not properly exposed publicly #3818

Closed
Harmon758 opened this issue Jun 7, 2019 · 0 comments · Fixed by #3819
Closed

TooManyRedirects is not properly exposed publicly #3818

Harmon758 opened this issue Jun 7, 2019 · 0 comments · Fixed by #3819

Comments

@Harmon758
Copy link
Member

Description

544716c (#2943) added TooManyRedirects and added it as aiohttp.TooManyRedirects in the documentation.
However, it's not properly exposed publicly in __init__.py and can only be referenced as aiohttp.client_exceptions.TooManyRedirects.

Expected Behaviour

aiohttp.TooManyRedirects works, by reference to aiohttp.client_exceptions.TooManyRedirects

Actual Behaviour

AttributeError: module 'aiohttp' has no attribute 'TooManyRedirects

Reproduction Steps

import aiohttp and attempt to use aiohttp.TooManyRedirects

Environment

aiohttp 3.5.4
Also reproducible on latest master (81cc715)

@helpr helpr bot added the pr-available label Jun 7, 2019
@helpr helpr bot added pr-merged and removed pr-available labels Jun 7, 2019
@lock lock bot added the outdated label Jun 24, 2020
@lock lock bot locked as resolved and limited conversation to collaborators Jun 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant