Skip to content

Commit

Permalink
Merge pull request #1732 from philipp-sontag-by/dynamic-client-reques…
Browse files Browse the repository at this point in the history
…t-timeout

Support setting the _request_timeout parameter for the dynamic client
  • Loading branch information
k8s-ci-robot committed May 9, 2022
2 parents 34ed13f + 943b0e7 commit 38ba743
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kubernetes/base/dynamic/client.py
Expand Up @@ -279,7 +279,8 @@ def request(self, method, path, body=None, **params):
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()
Expand Down

0 comments on commit 38ba743

Please sign in to comment.