datashare-python 0.11.2__py3-none-any.whl → 0.11.3__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.
datashare_python/utils.py CHANGED
@@ -522,7 +522,7 @@ def _write_artifact_bytes(path: Path, artifact: bytes | BytesIO | Path) -> None:
522
522
  def _remove_previous_artifacts(path: Path) -> None:
523
523
  if isinstance(path, Path) and path.exists():
524
524
  with contextlib.suppress(FileNotFoundError):
525
- path.rmdir()
525
+ shutil.rmtree(path)
526
526
  else:
527
527
  path.unlink(missing_ok=True)
528
528
 
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: datashare-python
3
- Version: 0.11.2
3
+ Version: 0.11.3
4
4
  Summary: Manage Python tasks and local resources in Datashare
5
5
  Project-URL: Homepage, https://icij.github.io/datashare-python/
6
6
  Project-URL: Documentation, https://icij.github.io/datashare-python/
@@ -14,15 +14,15 @@ datashare_python/objects.py,sha256=RuDEC4dZPndMYwFKhmMlToY8jjwjupG7mGGCG5tzc6g,1
14
14
  datashare_python/task_client.py,sha256=oTmP8bvZW0UyhLNMi1AV3XIAx7hrdbxNRss2Mw2azEc,8435
15
15
  datashare_python/template.py,sha256=N1uM8TRXh5tQPV7BC1oJj-Pdm2Gs_SkjaXv50RnNYso,4682
16
16
  datashare_python/types_.py,sha256=cPcCkIk6ecILrKetPnAsrb0njHYuWJU3eZicUXy2lF8,1278
17
- datashare_python/utils.py,sha256=k85QP34hSHBRFo8YwGA7rYPO5cqCt33i3ntl2oSfHkE,28603
18
- datashare_python/worker-template.tar.gz,sha256=3Lu6zLEXlndprxXPGMN9L19XrplmxUki3v15HymMmls,236583
17
+ datashare_python/utils.py,sha256=IGYz5KNCthYiBe2ZQfvPgvKKhyeRBBG8uf4bZ1Kv8KE,28610
18
+ datashare_python/worker-template.tar.gz,sha256=ia3bFEO5mvMY2qRpTKjBJjWQuZWYX_ZTOFyBEefI2JM,236557
19
19
  datashare_python/worker.py,sha256=ad36_yJOgwtj8KBheWndGkqaP_2aXTPSrYaHrbCXTvg,8389
20
20
  datashare_python/cli/__init__.py,sha256=9BPWtssDgsVfWMsZ1TtZCla0EC_kai4RHttr8oNLYOE,1401
21
21
  datashare_python/cli/project.py,sha256=w32Gy9AOL5B00uDT4in7YUCt2g68FnNbvwg2M3a8G6o,946
22
22
  datashare_python/cli/task.py,sha256=GsyR5o0fN4Pd8tJKAUgivAvCBKT3L4Ay5j_BCW1XBHk,5828
23
23
  datashare_python/cli/utils.py,sha256=p69CQb0zfixuyBkiZprhdMCc_NuYwXyAn6vC9H1UzAw,911
24
24
  datashare_python/cli/worker.py,sha256=x0p3a1_NsZPbmV7-WSVMRyW3_iadYcgyZKbDvWgymQc,5790
25
- datashare_python-0.11.2.dist-info/METADATA,sha256=STmFFjil2tcX6BgZOyEBdlraEtIs69qEWV6FGHGhGnY,1012
26
- datashare_python-0.11.2.dist-info/WHEEL,sha256=zOwg4jB6zX2kU910N-cMawjivD6tO8NEWvE12je1bVk,87
27
- datashare_python-0.11.2.dist-info/entry_points.txt,sha256=ILE7auxabHWiu3GC-AunWnzjhOI_SbZp7D4GqZHlLw4,68
28
- datashare_python-0.11.2.dist-info/RECORD,,
25
+ datashare_python-0.11.3.dist-info/METADATA,sha256=WqIhXRbwIec51HNqCNBDquSAME30DMwL_5D3-JQg2Pc,1012
26
+ datashare_python-0.11.3.dist-info/WHEEL,sha256=zOwg4jB6zX2kU910N-cMawjivD6tO8NEWvE12je1bVk,87
27
+ datashare_python-0.11.3.dist-info/entry_points.txt,sha256=ILE7auxabHWiu3GC-AunWnzjhOI_SbZp7D4GqZHlLw4,68
28
+ datashare_python-0.11.3.dist-info/RECORD,,