Merge pull request #1732 from philipp-sontag-by/dynamic-client-request-timeout

Support setting the _request_timeout parameter for the dynamic client
This commit is contained in:
Kubernetes Prow Robot 2022-05-09 09:05:19 -07:00 committed by GitHub
commit 38ba743227
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -279,7 +279,8 @@ class DynamicClient(object):
files=local_var_files,
auth_settings=auth_settings,
_preload_content=False,
_return_http_data_only=params.get('_return_http_data_only', True)
_return_http_data_only=params.get('_return_http_data_only', True),
_request_timeout=params.get('_request_timeout')
)
if params.get('async_req'):
return api_response.get()