17989: Passes the given timeout value to api_from_config()
authorLucas Di Pentima <lucas.dipentima@curii.com>
Tue, 7 Sep 2021 21:11:30 +0000 (18:11 -0300)
committerLucas Di Pentima <lucas.dipentima@curii.com>
Tue, 7 Sep 2021 21:11:30 +0000 (18:11 -0300)
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>

sdk/python/arvados/api.py

index 4fe3999f2c3098391f387f51fe96cc628bf1a790..55b1e22b78a9add1588d46f24047d5a9a8aa7c1c 100644 (file)
@@ -211,7 +211,8 @@ def api(version=None, cache=True, host=None, token=None, insecure=False,
         pass
     elif not host and not token:
         return api_from_config(
-            version=version, cache=cache, request_id=request_id, **kwargs)
+            version=version, cache=cache, timeout=timeout,
+            request_id=request_id, **kwargs)
     else:
         # Caller provided one but not the other
         if not host: