megfile 4.1.3.post2__py3-none-any.whl → 4.1.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- megfile/s3_path.py +15 -6
- megfile/version.py +1 -1
- {megfile-4.1.3.post2.dist-info → megfile-4.1.4.dist-info}/METADATA +1 -1
- {megfile-4.1.3.post2.dist-info → megfile-4.1.4.dist-info}/RECORD +9 -9
- {megfile-4.1.3.post2.dist-info → megfile-4.1.4.dist-info}/WHEEL +0 -0
- {megfile-4.1.3.post2.dist-info → megfile-4.1.4.dist-info}/entry_points.txt +0 -0
- {megfile-4.1.3.post2.dist-info → megfile-4.1.4.dist-info}/licenses/LICENSE +0 -0
- {megfile-4.1.3.post2.dist-info → megfile-4.1.4.dist-info}/licenses/LICENSE.pyre +0 -0
- {megfile-4.1.3.post2.dist-info → megfile-4.1.4.dist-info}/top_level.txt +0 -0
megfile/s3_path.py
CHANGED
|
@@ -290,14 +290,23 @@ def get_s3_client(
|
|
|
290
290
|
profile_name=profile_name,
|
|
291
291
|
)
|
|
292
292
|
|
|
293
|
+
try:
|
|
294
|
+
default_config = botocore.config.Config(
|
|
295
|
+
connect_timeout=5,
|
|
296
|
+
max_pool_connections=GLOBAL_MAX_WORKERS,
|
|
297
|
+
request_checksum_calculation="when_required",
|
|
298
|
+
response_checksum_validation="when_required",
|
|
299
|
+
)
|
|
300
|
+
except TypeError: # botocore < 1.36.0
|
|
301
|
+
default_config = botocore.config.Config(
|
|
302
|
+
connect_timeout=5,
|
|
303
|
+
max_pool_connections=GLOBAL_MAX_WORKERS,
|
|
304
|
+
)
|
|
305
|
+
|
|
293
306
|
if config:
|
|
294
|
-
config =
|
|
295
|
-
connect_timeout=5, max_pool_connections=GLOBAL_MAX_WORKERS
|
|
296
|
-
).merge(config)
|
|
307
|
+
config = default_config.merge(config)
|
|
297
308
|
else:
|
|
298
|
-
config =
|
|
299
|
-
connect_timeout=5, max_pool_connections=GLOBAL_MAX_WORKERS
|
|
300
|
-
)
|
|
309
|
+
config = default_config
|
|
301
310
|
|
|
302
311
|
addressing_style = get_env_var("AWS_S3_ADDRESSING_STYLE", profile_name=profile_name)
|
|
303
312
|
if addressing_style:
|
megfile/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
VERSION = "4.1.
|
|
1
|
+
VERSION = "4.1.4"
|
|
@@ -11,14 +11,14 @@ megfile/http_path.py,sha256=yRIk-fNbrsY8rUS5KVOfocS_PS520dX5KOs8lImpLaY,14173
|
|
|
11
11
|
megfile/interfaces.py,sha256=p4UvVZpeLx5djd6bqqDaygIx_s-_AxIVj-gudTch4JE,8467
|
|
12
12
|
megfile/pathlike.py,sha256=3Hnw-fn6RcIe9iPrJt00QdHSA--UfDyxnVBuZ_ymYYQ,31278
|
|
13
13
|
megfile/s3.py,sha256=abBxnI7RIyn7n7qjGszP1VruYd6Gi9I8QnUOvsHkx1Y,16325
|
|
14
|
-
megfile/s3_path.py,sha256=
|
|
14
|
+
megfile/s3_path.py,sha256=S8iulho1btVLLvNU-OtcskkbaAC8yNXnBrFNnF3fwS8,93510
|
|
15
15
|
megfile/sftp.py,sha256=uBcLQs-j6Q-q-sWAdd-pgi5Qmb_kq7boJM-0sCfcNO0,26540
|
|
16
16
|
megfile/sftp_path.py,sha256=Wz4VcQ0pBUuWDGMSxPpPbutrT09mnY6jZNiAqTi5tO4,43840
|
|
17
17
|
megfile/smart.py,sha256=Sae2KJzaU0k_qV_Bk0YifOMq8WsV5qQ2pGInDRF546I,36411
|
|
18
18
|
megfile/smart_path.py,sha256=Up_6xNZ2019iSzMn_JAU_1H--z-AP6O7SxdXGdeTG0c,7659
|
|
19
19
|
megfile/stdio.py,sha256=ZwxsnJNJYIT7Iyg5pIw4qiyH8bszG6oAhEJuR-hXGG4,658
|
|
20
20
|
megfile/stdio_path.py,sha256=cxaDr8rtisTPnN-rjtaEpqQnshwiqwXFUJBM9xWY7Cg,2711
|
|
21
|
-
megfile/version.py,sha256=
|
|
21
|
+
megfile/version.py,sha256=oeG77LWvRtozNToerGYb2jXBRGCoB_YTBpQNMOpT1Gc,19
|
|
22
22
|
megfile/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
23
23
|
megfile/lib/base_prefetch_reader.py,sha256=uxVwYknOjc8hLF7q_T2QKMsBqFcrf411ZsuK25CN1eQ,12848
|
|
24
24
|
megfile/lib/combine_reader.py,sha256=Kp2wEloOUpTlIU7dve87MBpSzmIM-F9OtpTawAjFkiU,4828
|
|
@@ -43,10 +43,10 @@ megfile/lib/stdio_handler.py,sha256=IDdgENLQlhigEwkLL4zStueVSzdWg7xVcTF_koof_Ek,
|
|
|
43
43
|
megfile/lib/url.py,sha256=ER32pWy9Q2MAk3TraAaNEBWIqUeBmLuM57ol2cs7-Ks,103
|
|
44
44
|
megfile/utils/__init__.py,sha256=xAzmICA0MtAbg-I2yPfeHjA1N4CiMP4sBrC9BgrfZLw,10151
|
|
45
45
|
megfile/utils/mutex.py,sha256=asb8opGLgK22RiuBJUnfsvB8LnMmodP8KzCVHKmQBWA,2561
|
|
46
|
-
megfile-4.1.
|
|
47
|
-
megfile-4.1.
|
|
48
|
-
megfile-4.1.
|
|
49
|
-
megfile-4.1.
|
|
50
|
-
megfile-4.1.
|
|
51
|
-
megfile-4.1.
|
|
52
|
-
megfile-4.1.
|
|
46
|
+
megfile-4.1.4.dist-info/licenses/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
|
|
47
|
+
megfile-4.1.4.dist-info/licenses/LICENSE.pyre,sha256=9lf5nT-5ZH25JijpYAequ0bl8E8z5JmZB1qrjiUMp84,1080
|
|
48
|
+
megfile-4.1.4.dist-info/METADATA,sha256=eK8epRuIQh0igo6DhBw30mRrSw4ssvgt4_voFo-zJYc,9595
|
|
49
|
+
megfile-4.1.4.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
50
|
+
megfile-4.1.4.dist-info/entry_points.txt,sha256=M6ZWSSv5_5_QtIpZafy3vq7WuOJ_5dSGQQnEZbByt2Q,49
|
|
51
|
+
megfile-4.1.4.dist-info/top_level.txt,sha256=i3rMgdU1ZAJekAceojhA-bkm3749PzshtRmLTbeLUPQ,8
|
|
52
|
+
megfile-4.1.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|