aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/botocore
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-06-24 10:03:03 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-06-24 10:03:03 +0300
commit0a71674a38d3db5db3295980b8127d3adc013944 (patch)
treea45eea627842ff2b56a0dfac0108d376524fdb94 /contrib/python/botocore
parent744d10b39ed56155025137ac4a38e11e72ae7d4a (diff)
downloadydb-0a71674a38d3db5db3295980b8127d3adc013944.tar.gz
intermediate changes
ref:8fa642270fd6c5eb54287b182bf6069f0154eb47
Diffstat (limited to 'contrib/python/botocore')
-rw-r--r--contrib/python/botocore/py3/.dist-info/METADATA2
-rw-r--r--contrib/python/botocore/py3/botocore/__init__.py2
-rw-r--r--contrib/python/botocore/py3/botocore/client.py4
-rw-r--r--contrib/python/botocore/py3/botocore/data/chime-sdk-meetings/2021-07-15/service-2.json3
-rw-r--r--contrib/python/botocore/py3/botocore/endpoint.py3
-rw-r--r--contrib/python/botocore/py3/botocore/httpsession.py5
6 files changed, 16 insertions, 3 deletions
diff --git a/contrib/python/botocore/py3/.dist-info/METADATA b/contrib/python/botocore/py3/.dist-info/METADATA
index 5490f0e19d..6f6f6ded03 100644
--- a/contrib/python/botocore/py3/.dist-info/METADATA
+++ b/contrib/python/botocore/py3/.dist-info/METADATA
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: botocore
-Version: 1.27.5
+Version: 1.27.6
Summary: Low-level, data-driven core of boto 3.
Home-page: https://github.com/boto/botocore
Author: Amazon Web Services
diff --git a/contrib/python/botocore/py3/botocore/__init__.py b/contrib/python/botocore/py3/botocore/__init__.py
index e44bb009c8..94e88ce8de 100644
--- a/contrib/python/botocore/py3/botocore/__init__.py
+++ b/contrib/python/botocore/py3/botocore/__init__.py
@@ -16,7 +16,7 @@ import logging
import os
import re
-__version__ = '1.27.5'
+__version__ = '1.27.6'
class NullHandler(logging.Handler):
diff --git a/contrib/python/botocore/py3/botocore/client.py b/contrib/python/botocore/py3/botocore/client.py
index bbcb35a8ce..d54c47eac5 100644
--- a/contrib/python/botocore/py3/botocore/client.py
+++ b/contrib/python/botocore/py3/botocore/client.py
@@ -839,6 +839,10 @@ class BaseClient:
f"'{self.__class__.__name__}' object has no attribute '{item}'"
)
+ def close(self):
+ """Closes underlying endpoint connections."""
+ self._endpoint.close()
+
def _register_handlers(self):
# Register the handler required to sign requests.
service_id = self.meta.service_model.service_id.hyphenize()
diff --git a/contrib/python/botocore/py3/botocore/data/chime-sdk-meetings/2021-07-15/service-2.json b/contrib/python/botocore/py3/botocore/data/chime-sdk-meetings/2021-07-15/service-2.json
index c390411af0..73b05a7465 100644
--- a/contrib/python/botocore/py3/botocore/data/chime-sdk-meetings/2021-07-15/service-2.json
+++ b/contrib/python/botocore/py3/botocore/data/chime-sdk-meetings/2021-07-15/service-2.json
@@ -1224,7 +1224,8 @@
"eu-west-1",
"eu-west-2",
"sa-east-1",
- "auto"
+ "auto",
+ "us-gov-west-1"
]
},
"TranscribeVocabularyFilterMethod":{
diff --git a/contrib/python/botocore/py3/botocore/endpoint.py b/contrib/python/botocore/py3/botocore/endpoint.py
index 7814e5ac9b..adc622c25a 100644
--- a/contrib/python/botocore/py3/botocore/endpoint.py
+++ b/contrib/python/botocore/py3/botocore/endpoint.py
@@ -107,6 +107,9 @@ class Endpoint:
def __repr__(self):
return f'{self._endpoint_prefix}({self.host})'
+ def close(self):
+ self.http_session.close()
+
def make_request(self, operation_model, request_dict):
logger.debug(
"Making request for %s with params: %s",
diff --git a/contrib/python/botocore/py3/botocore/httpsession.py b/contrib/python/botocore/py3/botocore/httpsession.py
index 550c299311..ca9c781824 100644
--- a/contrib/python/botocore/py3/botocore/httpsession.py
+++ b/contrib/python/botocore/py3/botocore/httpsession.py
@@ -423,6 +423,11 @@ class URLLib3Session:
transfer_encoding = ensure_bytes(transfer_encoding)
return transfer_encoding.lower() == b'chunked'
+ def close(self):
+ self._manager.clear()
+ for manager in self._proxy_managers.values():
+ manager.clear()
+
def send(self, request):
try:
proxy_url = self._proxy_config.proxy_url_for(request.url)