thds.adls 3.2.20250417175326__py3-none-any.whl → 3.2.20250424210336__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 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
- aiohttp.http_exceptions.ContentLengthError,
321
- aiohttp.client_exceptions.ClientPayloadError,
322
- aiohttp.client_exceptions.SocketTimeoutError,
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 = "",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: thds.adls
3
- Version: 3.2.20250417175326
3
+ Version: 3.2.20250424210336
4
4
  Summary: ADLS tools
5
5
  Author-email: Trilliant Health <info@trillianthealth.com>
6
6
  License: MIT
@@ -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=U_UisV33hsQWc6Xy2Mwmm_8DbscGS75tr6Y_NtUta1U,17647
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.20250417175326.dist-info/METADATA,sha256=RT07deMiiR1d1kUC6S4NkV8bv0CeJjtHlyAJLvl7ufc,543
37
- thds_adls-3.2.20250417175326.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
38
- thds_adls-3.2.20250417175326.dist-info/entry_points.txt,sha256=uTqreT1AIwqJboMfLv5w6sviM8mNbAkln765gIjzoA4,152
39
- thds_adls-3.2.20250417175326.dist-info/top_level.txt,sha256=LTZaE5SkWJwv9bwOlMbIhiS-JWQEEIcjVYnJrt-CriY,5
40
- thds_adls-3.2.20250417175326.dist-info/RECORD,,
36
+ thds_adls-3.2.20250424210336.dist-info/METADATA,sha256=kBDGe18FJlYSK2tBCiEKWDYURWqJ4r1iKv9kHnzgNAQ,543
37
+ thds_adls-3.2.20250424210336.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
38
+ thds_adls-3.2.20250424210336.dist-info/entry_points.txt,sha256=uTqreT1AIwqJboMfLv5w6sviM8mNbAkln765gIjzoA4,152
39
+ thds_adls-3.2.20250424210336.dist-info/top_level.txt,sha256=LTZaE5SkWJwv9bwOlMbIhiS-JWQEEIcjVYnJrt-CriY,5
40
+ thds_adls-3.2.20250424210336.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (78.1.0)
2
+ Generator: setuptools (79.0.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5