wmill 1.408.1__tar.gz → 1.409.0__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wmill
3
- Version: 1.408.1
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,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "wmill"
3
- version = "1.408.1"
3
+ version = "1.409.0"
4
4
  description = "A client library for accessing Windmill server wrapping the Windmill client API"
5
5
  license = "Apache-2.0"
6
6
  homepage = "https://windmill.dev"
@@ -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
 
File without changes
File without changes
File without changes
File without changes
File without changes