From 22a0fea55a4bdb82875e9f5e4f8fb6f51f388201 Mon Sep 17 00:00:00 2001 From: Chris Wilcox Date: Wed, 23 Sep 2020 16:51:19 -0700 Subject: [PATCH] docs: timeout docs updated to reflect aiohttp timeouts --- google/auth/transport/aiohttp_requests.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/google/auth/transport/aiohttp_requests.py b/google/auth/transport/aiohttp_requests.py index 3d85e2b50..8fe0434f3 100644 --- a/google/auth/transport/aiohttp_requests.py +++ b/google/auth/transport/aiohttp_requests.py @@ -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