Skip to content

Commit

Permalink
docs: timeout docs updated to reflect aiohttp timeouts (#610)
Browse files Browse the repository at this point in the history
  • Loading branch information
crwilcox committed Sep 23, 2020
1 parent 188f549 commit a7de807
Showing 1 changed file with 2 additions and 3 deletions.
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

0 comments on commit a7de807

Please sign in to comment.