thds.adls 3.2.20250417175326__py3-none-any.whl → 3.2.20250424212731__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.
Potentially problematic release.
This version of thds.adls might be problematic. Click here for more details.
- thds/adls/download.py +14 -4
- {thds_adls-3.2.20250417175326.dist-info → thds_adls-3.2.20250424212731.dist-info}/METADATA +1 -1
- {thds_adls-3.2.20250417175326.dist-info → thds_adls-3.2.20250424212731.dist-info}/RECORD +6 -6
- {thds_adls-3.2.20250417175326.dist-info → thds_adls-3.2.20250424212731.dist-info}/WHEEL +1 -1
- {thds_adls-3.2.20250417175326.dist-info → thds_adls-3.2.20250424212731.dist-info}/entry_points.txt +0 -0
- {thds_adls-3.2.20250417175326.dist-info → thds_adls-3.2.20250424212731.dist-info}/top_level.txt +0 -0
thds/adls/download.py
CHANGED
|
@@ -12,6 +12,7 @@ from azure.storage.filedatalake import (
|
|
|
12
12
|
DataLakeFileClient,
|
|
13
13
|
FileProperties,
|
|
14
14
|
FileSystemClient,
|
|
15
|
+
aio,
|
|
15
16
|
)
|
|
16
17
|
|
|
17
18
|
from thds.core import fretry, log, scope, tmp
|
|
@@ -317,9 +318,18 @@ def _set_md5_if_missing(
|
|
|
317
318
|
def _excs_to_retry() -> ty.Callable[[Exception], bool]:
|
|
318
319
|
"""These are exceptions that we observe to be spurious failures worth retrying."""
|
|
319
320
|
return fretry.is_exc(
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
321
|
+
*list(
|
|
322
|
+
filter(
|
|
323
|
+
None,
|
|
324
|
+
(
|
|
325
|
+
aiohttp.http_exceptions.ContentLengthError,
|
|
326
|
+
aiohttp.client_exceptions.ClientPayloadError,
|
|
327
|
+
getattr(
|
|
328
|
+
aiohttp.client_exceptions, "SocketTimeoutError", None
|
|
329
|
+
), # not present in aiohttp < 3.10 - Databricks installs 3.8.
|
|
330
|
+
),
|
|
331
|
+
)
|
|
332
|
+
)
|
|
323
333
|
)
|
|
324
334
|
|
|
325
335
|
|
|
@@ -371,7 +381,7 @@ def download_or_use_verified(
|
|
|
371
381
|
|
|
372
382
|
@_dl_scope.bound
|
|
373
383
|
async def async_download_or_use_verified(
|
|
374
|
-
fs_client: FileSystemClient,
|
|
384
|
+
fs_client: aio.FileSystemClient,
|
|
375
385
|
remote_key: str,
|
|
376
386
|
local_path: StrOrPath,
|
|
377
387
|
md5b64: str = "",
|
|
@@ -7,7 +7,7 @@ thds/adls/conf.py,sha256=q1SPrgb46NpobVzwt_Oyv71-BvsIbZLq9nRWS3LZjz0,1990
|
|
|
7
7
|
thds/adls/copy.py,sha256=jUWbGvTpb4B3yRGS0nhGSbDzqRPzUqYgH0z1lFRJB3k,6365
|
|
8
8
|
thds/adls/dbfs.py,sha256=pPAjbIZRKJsaXKQljDMUgqS_zy1yKeEZHGMueXbuv3g,2219
|
|
9
9
|
thds/adls/defaults.py,sha256=GGq5Pn4r-8cX4bZItp4nnwWAAz7S07pzPoOegw0y5Fw,676
|
|
10
|
-
thds/adls/download.py,sha256=
|
|
10
|
+
thds/adls/download.py,sha256=V54AMf2W-Feg-s9dIxnhtlh1TfR4CCgju5RifCZosFw,17938
|
|
11
11
|
thds/adls/download_lock.py,sha256=ttD2GhPNRnITNoV1XH2PvKbMsHppZirjy3RZ4P4kgKM,2826
|
|
12
12
|
thds/adls/errors.py,sha256=B_rMsQvQnNmP_sf-x8kmGsv2vIeOh4G9kVbdNVyk350,1469
|
|
13
13
|
thds/adls/etag.py,sha256=ct7jpHhNFcKzbekn5rZ3m6DhjK48A7qOZGwDiHkc-pc,242
|
|
@@ -33,8 +33,8 @@ thds/adls/resource/up_down.py,sha256=3uNlTvm2gVhSyYdQTBwsGecOgwtINQfINckR-awwV0Y
|
|
|
33
33
|
thds/adls/tools/download.py,sha256=vvBO8lSDl9oPugv75qpCkoemT9pOM9BV6yeExlkyG08,1594
|
|
34
34
|
thds/adls/tools/ls.py,sha256=OgEaIfTK359twlZIj-A0AW_nv81Z6zi0b9Tw6OJJfWA,1083
|
|
35
35
|
thds/adls/tools/upload.py,sha256=eMk4pdug1aCMPDDWpIE3Zoq77i5APp9Uuh-sVCCDNJE,493
|
|
36
|
-
thds_adls-3.2.
|
|
37
|
-
thds_adls-3.2.
|
|
38
|
-
thds_adls-3.2.
|
|
39
|
-
thds_adls-3.2.
|
|
40
|
-
thds_adls-3.2.
|
|
36
|
+
thds_adls-3.2.20250424212731.dist-info/METADATA,sha256=BCEQAR_YabxJEpm9mBwqrkdt6oYKZmLmF27LIpH31tk,543
|
|
37
|
+
thds_adls-3.2.20250424212731.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
|
|
38
|
+
thds_adls-3.2.20250424212731.dist-info/entry_points.txt,sha256=uTqreT1AIwqJboMfLv5w6sviM8mNbAkln765gIjzoA4,152
|
|
39
|
+
thds_adls-3.2.20250424212731.dist-info/top_level.txt,sha256=LTZaE5SkWJwv9bwOlMbIhiS-JWQEEIcjVYnJrt-CriY,5
|
|
40
|
+
thds_adls-3.2.20250424212731.dist-info/RECORD,,
|
{thds_adls-3.2.20250417175326.dist-info → thds_adls-3.2.20250424212731.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{thds_adls-3.2.20250417175326.dist-info → thds_adls-3.2.20250424212731.dist-info}/top_level.txt
RENAMED
|
File without changes
|