From: Lucas Di Pentima Date: Tue, 7 Sep 2021 21:11:30 +0000 (-0300) Subject: 17989: Passes the given timeout value to api_from_config() X-Git-Tag: 2.3.0~81^2~1 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/c2a90517b7c88306f9e43e697926b5c5807fc7ca 17989: Passes the given timeout value to api_from_config() Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- diff --git a/sdk/python/arvados/api.py b/sdk/python/arvados/api.py index 4fe3999f2c..55b1e22b78 100644 --- a/sdk/python/arvados/api.py +++ b/sdk/python/arvados/api.py @@ -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: