From c2a90517b7c88306f9e43e697926b5c5807fc7ca Mon Sep 17 00:00:00 2001 From: Lucas Di Pentima Date: Tue, 7 Sep 2021 18:11:30 -0300 Subject: [PATCH] 17989: Passes the given timeout value to api_from_config() Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- sdk/python/arvados/api.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: -- 2.30.2