coiled 1.126.1.dev23__py3-none-any.whl → 1.126.1.dev25__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 coiled might be problematic. Click here for more details.

coiled/filestore.py CHANGED
@@ -262,6 +262,18 @@ class FilestoreManagerWithoutHttp:
262
262
  files = []
263
263
  total_bytes = 0
264
264
 
265
+ # if we're given a specific file path instead of directory, then mark that file for upload
266
+ if os.path.isfile(local_dir):
267
+ local_path = local_dir
268
+ local_dir = os.path.dirname(local_path)
269
+ relative_path = Path(os.path.relpath(local_path, local_dir)).as_posix()
270
+ size = os.path.getsize(local_path)
271
+
272
+ files.append((local_path, relative_path, size))
273
+ total_bytes += size
274
+
275
+ return files, total_bytes
276
+
265
277
  ignore_before_ts = 0
266
278
  if os.path.exists(os.path.join(local_dir, ".ignore-before")):
267
279
  ignore_before_ts = os.path.getmtime(os.path.join(local_dir, ".ignore-before"))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: coiled
3
- Version: 1.126.1.dev23
3
+ Version: 1.126.1.dev25
4
4
  Summary: Python client for coiled.io dask clusters
5
5
  Project-URL: Homepage, https://coiled.io
6
6
  Maintainer-email: Coiled <info@coiled.io>
@@ -12,7 +12,7 @@ coiled/context.py,sha256=MXWsW0swdYU-x32U7NiM0xt-t65maiEO8rvsGGeScFw,4754
12
12
  coiled/core.py,sha256=Cu6hKBXRWSztbpF8huAyU_1glnt1gacnO9vExvG-Cwo,110796
13
13
  coiled/errors.py,sha256=5aXhNXgidMm0VgPYT3MZMwlHhRE57MeSmqAJFHYaa8Y,305
14
14
  coiled/exceptions.py,sha256=jUXgmfO0LitGe8ztSmAlzb9eQV3X5c0kNO2BwtEDTYg,3099
15
- coiled/filestore.py,sha256=EHgpXw5xPtwR9EMf-gUpAUsXTYxUmTX7zZboIHlkjAE,14424
15
+ coiled/filestore.py,sha256=GkRLsGAPR2l6_GPwysvfB0rC3Gt8HIkQaP87fTKN5kM,14912
16
16
  coiled/function.py,sha256=pONtcTUDRr0dykhVV73AWXqU_pb-4-lvOA0tR3i_PlA,21654
17
17
  coiled/plugins.py,sha256=w03H2Sck54QmwrVOM1BVscNiVeQsHyGm1yWNzPPPWKs,3424
18
18
  coiled/prefect.py,sha256=j1EOg7Xuw82TNRonAGEoZ3ANlwN8GM5aDXRYSjC0lnA,1497
@@ -95,8 +95,8 @@ coiled/v2/widgets/__init__.py,sha256=Bt3GHTTyri-kFUaqGRVydDM-sCg5NdNujDg2RyvgV8U
95
95
  coiled/v2/widgets/interface.py,sha256=YeMQ5qdRbbpM04x9qIg2LE1xwxyRxFbdDYnkrwHazPk,301
96
96
  coiled/v2/widgets/rich.py,sha256=3rU5-yso92NdeEh3uSvEE-GwPNyp6i0Nb5PE5czXCik,28974
97
97
  coiled/v2/widgets/util.py,sha256=Y8qpGqwNzqfCzgyRFRy7vcscBoXqop-Upi4HLPpXLgg,3120
98
- coiled-1.126.1.dev23.dist-info/METADATA,sha256=tRLlfxoCWGAXjRVy-636lRZaPy8ZqA4eYx-hvv0NiVc,2182
99
- coiled-1.126.1.dev23.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
100
- coiled-1.126.1.dev23.dist-info/entry_points.txt,sha256=C8dz1ST_bTlTO-kNvuHBJQma9PyJPotg0S4xpPt5aHY,47
101
- coiled-1.126.1.dev23.dist-info/licenses/LICENSE,sha256=ZPwVR73Biwm3sK6vR54djCrhaRiM4cAD2zvOQZV8Xis,3859
102
- coiled-1.126.1.dev23.dist-info/RECORD,,
98
+ coiled-1.126.1.dev25.dist-info/METADATA,sha256=MlMFqu-L4KD5tGLMQ6hpRXcdRlLgQC1mWQ0wKSMD3sI,2182
99
+ coiled-1.126.1.dev25.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
100
+ coiled-1.126.1.dev25.dist-info/entry_points.txt,sha256=C8dz1ST_bTlTO-kNvuHBJQma9PyJPotg0S4xpPt5aHY,47
101
+ coiled-1.126.1.dev25.dist-info/licenses/LICENSE,sha256=ZPwVR73Biwm3sK6vR54djCrhaRiM4cAD2zvOQZV8Xis,3859
102
+ coiled-1.126.1.dev25.dist-info/RECORD,,