wmill 1.536.0__py3-none-any.whl → 1.537.0__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.
wmill/client.py
CHANGED
@@ -1478,16 +1478,16 @@ def task(*args, **kwargs):
|
|
1478
1478
|
params = {}
|
1479
1479
|
if tag is not None:
|
1480
1480
|
params["tag"] = tag
|
1481
|
-
|
1481
|
+
w_as_code_response = _client.post(
|
1482
1482
|
f"/w/{w_id}/jobs/run/workflow_as_code/{job_id}/{f_name}",
|
1483
1483
|
json={"args": json},
|
1484
1484
|
params=params,
|
1485
1485
|
)
|
1486
|
-
job_id =
|
1486
|
+
job_id = w_as_code_response.text
|
1487
1487
|
print(f"Executing task {func.__name__} on job {job_id}")
|
1488
|
-
|
1488
|
+
job_result = _client.wait_job(job_id)
|
1489
1489
|
print(f"Task {func.__name__} ({job_id}) completed")
|
1490
|
-
return
|
1490
|
+
return job_result
|
1491
1491
|
|
1492
1492
|
return inner
|
1493
1493
|
|
@@ -1,8 +1,8 @@
|
|
1
1
|
wmill/__init__.py,sha256=nGZnQPezTdrBnBW1D0JqUtm75Gdf_xi3tAcPGwHRZ5A,46
|
2
|
-
wmill/client.py,sha256=
|
2
|
+
wmill/client.py,sha256=9O4XCH3ZknKPj-AKc88fDbZdFqTCcGqX3g-Ewc4skSg,50410
|
3
3
|
wmill/py.typed,sha256=8PjyZ1aVoQpRVvt71muvuq5qE-jTFZkK-GLHkhdebmc,26
|
4
4
|
wmill/s3_reader.py,sha256=Rq6m9T_SxReIi0OJA28FXSddHQRk2wUJCfbcw_FQ8Ao,2149
|
5
5
|
wmill/s3_types.py,sha256=D4W1miV41Sa0YC_p7Jqr8j8Sp4Z2GgFAVsFR0ZYIrVM,1235
|
6
|
-
wmill-1.
|
7
|
-
wmill-1.
|
8
|
-
wmill-1.
|
6
|
+
wmill-1.537.0.dist-info/METADATA,sha256=Sk9EW1fzQkBwgkmtjF7V1Uyu_JfqjM9yjkPLoRAM6IM,2693
|
7
|
+
wmill-1.537.0.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
|
8
|
+
wmill-1.537.0.dist-info/RECORD,,
|
File without changes
|