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

docs: timeout docs updated to reflect aiohttp timeouts #610

Merged
merged 1 commit into from
Sep 23, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions google/auth/transport/aiohttp_requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,12 +269,11 @@ async def request(
send the http request allows us to use this parallel corresponding structure
in our Authorized Session class.

timeout (Optional[Union[float, Tuple[float, float]]]):
timeout (Optional[Union[float, aiohttp.ClientTimeout]]):
The amount of time in seconds to wait for the server response
with each individual request.

Can also be passed as a tuple (connect_timeout, read_timeout).
See :meth:`requests.Session.request` documentation for details.
Can also be passed as an `aiohttp.ClientTimeout` object.

max_allowed_time (Optional[float]):
If the method runs longer than this, a ``Timeout`` exception is
Expand Down