wmill 1.408.0__py3-none-any.whl → 1.409.0__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
wmill/client.py CHANGED
@@ -257,10 +257,7 @@ class Windmill:
257
257
  assert job_type, f"{job} is not a valid job"
258
258
  if job_type.lower() == "completedjob":
259
259
  return "COMPLETED"
260
- additional_properties = job.get("additional_properties", {})
261
- if "running" not in additional_properties:
262
- raise Exception(f"{job_id} is not running")
263
- if additional_properties.get("running"):
260
+ if job.get("running"):
264
261
  return "RUNNING"
265
262
  return "WAITING"
266
263
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wmill
3
- Version: 1.408.0
3
+ Version: 1.409.0
4
4
  Summary: A client library for accessing Windmill server wrapping the Windmill client API
5
5
  Home-page: https://windmill.dev
6
6
  License: Apache-2.0
@@ -1,8 +1,8 @@
1
1
  wmill/__init__.py,sha256=nGZnQPezTdrBnBW1D0JqUtm75Gdf_xi3tAcPGwHRZ5A,46
2
- wmill/client.py,sha256=PCt3IXmAEkOldz08LtkDw1S4r5GHfEtZDibKMAZp9XM,34327
2
+ wmill/client.py,sha256=Fi_CAmPjJDtTcxVpdWc99IDGdOh0S0nnK-U-PNMyejo,34133
3
3
  wmill/py.typed,sha256=8PjyZ1aVoQpRVvt71muvuq5qE-jTFZkK-GLHkhdebmc,26
4
4
  wmill/s3_reader.py,sha256=izHlg2Xsg0Sr_LkDDEC35VuEijJcuPBDIm-xj21KsgU,1668
5
5
  wmill/s3_types.py,sha256=XVjPyc5sjWesTy6nnRReojhyPgPsaT0EY3X57mWUaJ4,1173
6
- wmill-1.408.0.dist-info/METADATA,sha256=Px8liju8001r311MgLqtDJNhJ9aP14wtDlje6JZU-xQ,2693
7
- wmill-1.408.0.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
8
- wmill-1.408.0.dist-info/RECORD,,
6
+ wmill-1.409.0.dist-info/METADATA,sha256=6GZ29kG7Unxd9qySm43Qa9Lf8q9aeTt6gvEl4Iz9cog,2693
7
+ wmill-1.409.0.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
8
+ wmill-1.409.0.dist-info/RECORD,,