coiled 1.126.1.dev11__py3-none-any.whl → 1.126.1.dev15__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/cli/curl.py CHANGED
@@ -1,3 +1,4 @@
1
+ from json import dumps as json_dumps
1
2
  from json import loads as json_loads
2
3
 
3
4
  import click
@@ -24,7 +25,10 @@ def curl(url: str, request, data, json, json_output):
24
25
  url = f"{cloud.server}{url}"
25
26
  response = sync_request(cloud, url, method=request, data=all_data, json=json, json_output=json_output)
26
27
 
27
- print(response)
28
+ if json_output:
29
+ print(json_dumps(response, indent=4))
30
+ else:
31
+ print(response)
28
32
 
29
33
 
30
34
  def sync_request(cloud, url, method, data=None, json: bool = False, json_output: bool = False):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: coiled
3
- Version: 1.126.1.dev11
3
+ Version: 1.126.1.dev15
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>
@@ -28,7 +28,7 @@ coiled/websockets.py,sha256=BaCNiOgPVtm55R_rf1TK78tzoFSKLp4z2UCW7S57iNA,5956
28
28
  coiled/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
29
29
  coiled/cli/config.py,sha256=WKZkDpPYywYS665krQLqid2RgSchDOddZqBkkwBtyVk,2267
30
30
  coiled/cli/core.py,sha256=Yw5g-Y7p75a3k3tVa_jbVhzR6xDyOqwO2yOEB6npUzk,1125
31
- coiled/cli/curl.py,sha256=N5i-xUMGpP7PH-iGv02rxTWQGWlTtU8eLBQkqsMGCw4,1472
31
+ coiled/cli/curl.py,sha256=cYDQXvc1kZNDhFMkREhZoGYh0a9Ea06tEbobK8ZBCJ8,1589
32
32
  coiled/cli/diagnostics.py,sha256=1jIeue7xLOaf7LQFsNc6NmO5yU1jqmPFpKZSKjGN4rs,394
33
33
  coiled/cli/env.py,sha256=NHh7ZSq9yfongkpFqzon1eLhnH1FwToVvkKFIhqXRBE,6932
34
34
  coiled/cli/file.py,sha256=fJmOG3YhxpxXokGYu90wpjdwkJpp1XVqPJ_iveb5ShA,3623
@@ -94,8 +94,8 @@ coiled/v2/widgets/__init__.py,sha256=Bt3GHTTyri-kFUaqGRVydDM-sCg5NdNujDg2RyvgV8U
94
94
  coiled/v2/widgets/interface.py,sha256=YeMQ5qdRbbpM04x9qIg2LE1xwxyRxFbdDYnkrwHazPk,301
95
95
  coiled/v2/widgets/rich.py,sha256=3rU5-yso92NdeEh3uSvEE-GwPNyp6i0Nb5PE5czXCik,28974
96
96
  coiled/v2/widgets/util.py,sha256=Y8qpGqwNzqfCzgyRFRy7vcscBoXqop-Upi4HLPpXLgg,3120
97
- coiled-1.126.1.dev11.dist-info/METADATA,sha256=zxxeP13_dDSWhReMDcS2c9B_rXPmeorUQxwqBBVL54U,2182
98
- coiled-1.126.1.dev11.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
99
- coiled-1.126.1.dev11.dist-info/entry_points.txt,sha256=C8dz1ST_bTlTO-kNvuHBJQma9PyJPotg0S4xpPt5aHY,47
100
- coiled-1.126.1.dev11.dist-info/licenses/LICENSE,sha256=ZPwVR73Biwm3sK6vR54djCrhaRiM4cAD2zvOQZV8Xis,3859
101
- coiled-1.126.1.dev11.dist-info/RECORD,,
97
+ coiled-1.126.1.dev15.dist-info/METADATA,sha256=p0MNtzo2ZqDIEDQ1reEqYmhB6ono0cc7Tcqvp5TIga8,2182
98
+ coiled-1.126.1.dev15.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
99
+ coiled-1.126.1.dev15.dist-info/entry_points.txt,sha256=C8dz1ST_bTlTO-kNvuHBJQma9PyJPotg0S4xpPt5aHY,47
100
+ coiled-1.126.1.dev15.dist-info/licenses/LICENSE,sha256=ZPwVR73Biwm3sK6vR54djCrhaRiM4cAD2zvOQZV8Xis,3859
101
+ coiled-1.126.1.dev15.dist-info/RECORD,,