From 95e9d65e59625328d0be56609d85bffb49931197 Mon Sep 17 00:00:00 2001 From: Mike Fiedler Date: Sun, 2 Oct 2022 15:18:21 -0400 Subject: [PATCH] add tcp_keepalive to config_kwargs The `tcp_keepalive` parameter was added to the Config object in #2766 When inspecting the return value of an instantiated Client's `meta` with the config, it is always `None`. Does not handle resolving whether the value has been set in `scoped_config`. --- botocore/args.py | 1 + 1 file changed, 1 insertion(+) diff --git a/botocore/args.py b/botocore/args.py index c3afe1d025..3bdd3009f6 100644 --- a/botocore/args.py +++ b/botocore/args.py @@ -214,6 +214,7 @@ def compute_client_args( retries=client_config.retries, client_cert=client_config.client_cert, inject_host_prefix=client_config.inject_host_prefix, + tcp_keepalive=client_config.tcp_keepalive, ) self._compute_retry_config(config_kwargs) self._compute_connect_timeout(config_kwargs)