windmill-api 1.477.1__py3-none-any.whl → 1.478.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.

Potentially problematic release.


This version of windmill-api might be problematic. Click here for more details.

Files changed (35) hide show
  1. windmill_api/api/capture/move_captures_and_configs.py +122 -0
  2. windmill_api/api/flow/delete_flow_by_path.py +15 -1
  3. windmill_api/api/job/list_completed_jobs.py +15 -0
  4. windmill_api/api/job/list_jobs.py +15 -0
  5. windmill_api/api/job/list_queue.py +15 -0
  6. windmill_api/api/script/delete_script_by_path.py +21 -1
  7. windmill_api/models/completed_job.py +8 -0
  8. windmill_api/models/create_http_trigger_json_body.py +17 -0
  9. windmill_api/models/delete_completed_job_response_200.py +8 -0
  10. windmill_api/models/edit_http_trigger.py +17 -0
  11. windmill_api/models/extended_jobs_jobs_item_type_0.py +8 -0
  12. windmill_api/models/extended_jobs_jobs_item_type_1.py +8 -0
  13. windmill_api/models/get_completed_job_response_200.py +8 -0
  14. windmill_api/models/get_http_trigger_response_200.py +21 -9
  15. windmill_api/models/get_job_response_200_type_0.py +8 -0
  16. windmill_api/models/get_job_response_200_type_1.py +8 -0
  17. windmill_api/models/get_suspended_job_flow_response_200_job_type_0.py +8 -0
  18. windmill_api/models/get_suspended_job_flow_response_200_job_type_1.py +8 -0
  19. windmill_api/models/http_trigger.py +21 -9
  20. windmill_api/models/list_completed_jobs_response_200_item.py +8 -0
  21. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_0.py +8 -0
  22. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_1.py +8 -0
  23. windmill_api/models/list_http_triggers_response_200_item.py +21 -9
  24. windmill_api/models/list_jobs_response_200_item_type_0.py +8 -0
  25. windmill_api/models/list_jobs_response_200_item_type_1.py +8 -0
  26. windmill_api/models/list_queue_response_200_item.py +8 -0
  27. windmill_api/models/move_captures_and_configs_json_body.py +58 -0
  28. windmill_api/models/move_captures_and_configs_runnable_kind.py +9 -0
  29. windmill_api/models/new_http_trigger.py +17 -0
  30. windmill_api/models/queued_job.py +8 -0
  31. windmill_api/models/update_http_trigger_json_body.py +17 -0
  32. {windmill_api-1.477.1.dist-info → windmill_api-1.478.0.dist-info}/METADATA +1 -1
  33. {windmill_api-1.477.1.dist-info → windmill_api-1.478.0.dist-info}/RECORD +35 -32
  34. {windmill_api-1.477.1.dist-info → windmill_api-1.478.0.dist-info}/LICENSE +0 -0
  35. {windmill_api-1.477.1.dist-info → windmill_api-1.478.0.dist-info}/WHEEL +0 -0
@@ -27,6 +27,8 @@ class CreateHttpTriggerJsonBody:
27
27
  is_static_website (bool):
28
28
  workspaced_route (Union[Unset, bool]):
29
29
  static_asset_config (Union[Unset, CreateHttpTriggerJsonBodyStaticAssetConfig]):
30
+ wrap_body (Union[Unset, bool]):
31
+ raw_string (Union[Unset, bool]):
30
32
  """
31
33
 
32
34
  path: str
@@ -39,6 +41,8 @@ class CreateHttpTriggerJsonBody:
39
41
  is_static_website: bool
40
42
  workspaced_route: Union[Unset, bool] = UNSET
41
43
  static_asset_config: Union[Unset, "CreateHttpTriggerJsonBodyStaticAssetConfig"] = UNSET
44
+ wrap_body: Union[Unset, bool] = UNSET
45
+ raw_string: Union[Unset, bool] = UNSET
42
46
  additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
43
47
 
44
48
  def to_dict(self) -> Dict[str, Any]:
@@ -56,6 +60,9 @@ class CreateHttpTriggerJsonBody:
56
60
  if not isinstance(self.static_asset_config, Unset):
57
61
  static_asset_config = self.static_asset_config.to_dict()
58
62
 
63
+ wrap_body = self.wrap_body
64
+ raw_string = self.raw_string
65
+
59
66
  field_dict: Dict[str, Any] = {}
60
67
  field_dict.update(self.additional_properties)
61
68
  field_dict.update(
@@ -74,6 +81,10 @@ class CreateHttpTriggerJsonBody:
74
81
  field_dict["workspaced_route"] = workspaced_route
75
82
  if static_asset_config is not UNSET:
76
83
  field_dict["static_asset_config"] = static_asset_config
84
+ if wrap_body is not UNSET:
85
+ field_dict["wrap_body"] = wrap_body
86
+ if raw_string is not UNSET:
87
+ field_dict["raw_string"] = raw_string
77
88
 
78
89
  return field_dict
79
90
 
@@ -109,6 +120,10 @@ class CreateHttpTriggerJsonBody:
109
120
  else:
110
121
  static_asset_config = CreateHttpTriggerJsonBodyStaticAssetConfig.from_dict(_static_asset_config)
111
122
 
123
+ wrap_body = d.pop("wrap_body", UNSET)
124
+
125
+ raw_string = d.pop("raw_string", UNSET)
126
+
112
127
  create_http_trigger_json_body = cls(
113
128
  path=path,
114
129
  script_path=script_path,
@@ -120,6 +135,8 @@ class CreateHttpTriggerJsonBody:
120
135
  is_static_website=is_static_website,
121
136
  workspaced_route=workspaced_route,
122
137
  static_asset_config=static_asset_config,
138
+ wrap_body=wrap_body,
139
+ raw_string=raw_string,
123
140
  )
124
141
 
125
142
  create_http_trigger_json_body.additional_properties = d
@@ -58,6 +58,7 @@ class DeleteCompletedJobResponse200:
58
58
  self_wait_time_ms (Union[Unset, float]):
59
59
  aggregate_wait_time_ms (Union[Unset, float]):
60
60
  preprocessed (Union[Unset, bool]):
61
+ worker (Union[Unset, str]):
61
62
  """
62
63
 
63
64
  id: str
@@ -95,6 +96,7 @@ class DeleteCompletedJobResponse200:
95
96
  self_wait_time_ms: Union[Unset, float] = UNSET
96
97
  aggregate_wait_time_ms: Union[Unset, float] = UNSET
97
98
  preprocessed: Union[Unset, bool] = UNSET
99
+ worker: Union[Unset, str] = UNSET
98
100
  additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
99
101
 
100
102
  def to_dict(self) -> Dict[str, Any]:
@@ -151,6 +153,7 @@ class DeleteCompletedJobResponse200:
151
153
  self_wait_time_ms = self.self_wait_time_ms
152
154
  aggregate_wait_time_ms = self.aggregate_wait_time_ms
153
155
  preprocessed = self.preprocessed
156
+ worker = self.worker
154
157
 
155
158
  field_dict: Dict[str, Any] = {}
156
159
  field_dict.update(self.additional_properties)
@@ -214,6 +217,8 @@ class DeleteCompletedJobResponse200:
214
217
  field_dict["aggregate_wait_time_ms"] = aggregate_wait_time_ms
215
218
  if preprocessed is not UNSET:
216
219
  field_dict["preprocessed"] = preprocessed
220
+ if worker is not UNSET:
221
+ field_dict["worker"] = worker
217
222
 
218
223
  return field_dict
219
224
 
@@ -314,6 +319,8 @@ class DeleteCompletedJobResponse200:
314
319
 
315
320
  preprocessed = d.pop("preprocessed", UNSET)
316
321
 
322
+ worker = d.pop("worker", UNSET)
323
+
317
324
  delete_completed_job_response_200 = cls(
318
325
  id=id,
319
326
  created_by=created_by,
@@ -350,6 +357,7 @@ class DeleteCompletedJobResponse200:
350
357
  self_wait_time_ms=self_wait_time_ms,
351
358
  aggregate_wait_time_ms=aggregate_wait_time_ms,
352
359
  preprocessed=preprocessed,
360
+ worker=worker,
353
361
  )
354
362
 
355
363
  delete_completed_job_response_200.additional_properties = d
@@ -27,6 +27,8 @@ class EditHttpTrigger:
27
27
  route_path (Union[Unset, str]):
28
28
  workspaced_route (Union[Unset, bool]):
29
29
  static_asset_config (Union[Unset, EditHttpTriggerStaticAssetConfig]):
30
+ wrap_body (Union[Unset, bool]):
31
+ raw_string (Union[Unset, bool]):
30
32
  """
31
33
 
32
34
  path: str
@@ -39,6 +41,8 @@ class EditHttpTrigger:
39
41
  route_path: Union[Unset, str] = UNSET
40
42
  workspaced_route: Union[Unset, bool] = UNSET
41
43
  static_asset_config: Union[Unset, "EditHttpTriggerStaticAssetConfig"] = UNSET
44
+ wrap_body: Union[Unset, bool] = UNSET
45
+ raw_string: Union[Unset, bool] = UNSET
42
46
  additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
43
47
 
44
48
  def to_dict(self) -> Dict[str, Any]:
@@ -56,6 +60,9 @@ class EditHttpTrigger:
56
60
  if not isinstance(self.static_asset_config, Unset):
57
61
  static_asset_config = self.static_asset_config.to_dict()
58
62
 
63
+ wrap_body = self.wrap_body
64
+ raw_string = self.raw_string
65
+
59
66
  field_dict: Dict[str, Any] = {}
60
67
  field_dict.update(self.additional_properties)
61
68
  field_dict.update(
@@ -75,6 +82,10 @@ class EditHttpTrigger:
75
82
  field_dict["workspaced_route"] = workspaced_route
76
83
  if static_asset_config is not UNSET:
77
84
  field_dict["static_asset_config"] = static_asset_config
85
+ if wrap_body is not UNSET:
86
+ field_dict["wrap_body"] = wrap_body
87
+ if raw_string is not UNSET:
88
+ field_dict["raw_string"] = raw_string
78
89
 
79
90
  return field_dict
80
91
 
@@ -108,6 +119,10 @@ class EditHttpTrigger:
108
119
  else:
109
120
  static_asset_config = EditHttpTriggerStaticAssetConfig.from_dict(_static_asset_config)
110
121
 
122
+ wrap_body = d.pop("wrap_body", UNSET)
123
+
124
+ raw_string = d.pop("raw_string", UNSET)
125
+
111
126
  edit_http_trigger = cls(
112
127
  path=path,
113
128
  script_path=script_path,
@@ -119,6 +134,8 @@ class EditHttpTrigger:
119
134
  route_path=route_path,
120
135
  workspaced_route=workspaced_route,
121
136
  static_asset_config=static_asset_config,
137
+ wrap_body=wrap_body,
138
+ raw_string=raw_string,
122
139
  )
123
140
 
124
141
  edit_http_trigger.additional_properties = d
@@ -59,6 +59,7 @@ class ExtendedJobsJobsItemType0:
59
59
  self_wait_time_ms (Union[Unset, float]):
60
60
  aggregate_wait_time_ms (Union[Unset, float]):
61
61
  preprocessed (Union[Unset, bool]):
62
+ worker (Union[Unset, str]):
62
63
  type (Union[Unset, ExtendedJobsJobsItemType0Type]):
63
64
  """
64
65
 
@@ -97,6 +98,7 @@ class ExtendedJobsJobsItemType0:
97
98
  self_wait_time_ms: Union[Unset, float] = UNSET
98
99
  aggregate_wait_time_ms: Union[Unset, float] = UNSET
99
100
  preprocessed: Union[Unset, bool] = UNSET
101
+ worker: Union[Unset, str] = UNSET
100
102
  type: Union[Unset, ExtendedJobsJobsItemType0Type] = UNSET
101
103
  additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
102
104
 
@@ -154,6 +156,7 @@ class ExtendedJobsJobsItemType0:
154
156
  self_wait_time_ms = self.self_wait_time_ms
155
157
  aggregate_wait_time_ms = self.aggregate_wait_time_ms
156
158
  preprocessed = self.preprocessed
159
+ worker = self.worker
157
160
  type: Union[Unset, str] = UNSET
158
161
  if not isinstance(self.type, Unset):
159
162
  type = self.type.value
@@ -220,6 +223,8 @@ class ExtendedJobsJobsItemType0:
220
223
  field_dict["aggregate_wait_time_ms"] = aggregate_wait_time_ms
221
224
  if preprocessed is not UNSET:
222
225
  field_dict["preprocessed"] = preprocessed
226
+ if worker is not UNSET:
227
+ field_dict["worker"] = worker
223
228
  if type is not UNSET:
224
229
  field_dict["type"] = type
225
230
 
@@ -322,6 +327,8 @@ class ExtendedJobsJobsItemType0:
322
327
 
323
328
  preprocessed = d.pop("preprocessed", UNSET)
324
329
 
330
+ worker = d.pop("worker", UNSET)
331
+
325
332
  _type = d.pop("type", UNSET)
326
333
  type: Union[Unset, ExtendedJobsJobsItemType0Type]
327
334
  if isinstance(_type, Unset):
@@ -365,6 +372,7 @@ class ExtendedJobsJobsItemType0:
365
372
  self_wait_time_ms=self_wait_time_ms,
366
373
  aggregate_wait_time_ms=aggregate_wait_time_ms,
367
374
  preprocessed=preprocessed,
375
+ worker=worker,
368
376
  type=type,
369
377
  )
370
378
 
@@ -57,6 +57,7 @@ class ExtendedJobsJobsItemType1:
57
57
  aggregate_wait_time_ms (Union[Unset, float]):
58
58
  suspend (Union[Unset, float]):
59
59
  preprocessed (Union[Unset, bool]):
60
+ worker (Union[Unset, str]):
60
61
  type (Union[Unset, ExtendedJobsJobsItemType1Type]):
61
62
  """
62
63
 
@@ -93,6 +94,7 @@ class ExtendedJobsJobsItemType1:
93
94
  aggregate_wait_time_ms: Union[Unset, float] = UNSET
94
95
  suspend: Union[Unset, float] = UNSET
95
96
  preprocessed: Union[Unset, bool] = UNSET
97
+ worker: Union[Unset, str] = UNSET
96
98
  type: Union[Unset, ExtendedJobsJobsItemType1Type] = UNSET
97
99
  additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
98
100
 
@@ -155,6 +157,7 @@ class ExtendedJobsJobsItemType1:
155
157
  aggregate_wait_time_ms = self.aggregate_wait_time_ms
156
158
  suspend = self.suspend
157
159
  preprocessed = self.preprocessed
160
+ worker = self.worker
158
161
  type: Union[Unset, str] = UNSET
159
162
  if not isinstance(self.type, Unset):
160
163
  type = self.type.value
@@ -222,6 +225,8 @@ class ExtendedJobsJobsItemType1:
222
225
  field_dict["suspend"] = suspend
223
226
  if preprocessed is not UNSET:
224
227
  field_dict["preprocessed"] = preprocessed
228
+ if worker is not UNSET:
229
+ field_dict["worker"] = worker
225
230
  if type is not UNSET:
226
231
  field_dict["type"] = type
227
232
 
@@ -340,6 +345,8 @@ class ExtendedJobsJobsItemType1:
340
345
 
341
346
  preprocessed = d.pop("preprocessed", UNSET)
342
347
 
348
+ worker = d.pop("worker", UNSET)
349
+
343
350
  _type = d.pop("type", UNSET)
344
351
  type: Union[Unset, ExtendedJobsJobsItemType1Type]
345
352
  if isinstance(_type, Unset):
@@ -381,6 +388,7 @@ class ExtendedJobsJobsItemType1:
381
388
  aggregate_wait_time_ms=aggregate_wait_time_ms,
382
389
  suspend=suspend,
383
390
  preprocessed=preprocessed,
391
+ worker=worker,
384
392
  type=type,
385
393
  )
386
394
 
@@ -58,6 +58,7 @@ class GetCompletedJobResponse200:
58
58
  self_wait_time_ms (Union[Unset, float]):
59
59
  aggregate_wait_time_ms (Union[Unset, float]):
60
60
  preprocessed (Union[Unset, bool]):
61
+ worker (Union[Unset, str]):
61
62
  """
62
63
 
63
64
  id: str
@@ -95,6 +96,7 @@ class GetCompletedJobResponse200:
95
96
  self_wait_time_ms: Union[Unset, float] = UNSET
96
97
  aggregate_wait_time_ms: Union[Unset, float] = UNSET
97
98
  preprocessed: Union[Unset, bool] = UNSET
99
+ worker: Union[Unset, str] = UNSET
98
100
  additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
99
101
 
100
102
  def to_dict(self) -> Dict[str, Any]:
@@ -151,6 +153,7 @@ class GetCompletedJobResponse200:
151
153
  self_wait_time_ms = self.self_wait_time_ms
152
154
  aggregate_wait_time_ms = self.aggregate_wait_time_ms
153
155
  preprocessed = self.preprocessed
156
+ worker = self.worker
154
157
 
155
158
  field_dict: Dict[str, Any] = {}
156
159
  field_dict.update(self.additional_properties)
@@ -214,6 +217,8 @@ class GetCompletedJobResponse200:
214
217
  field_dict["aggregate_wait_time_ms"] = aggregate_wait_time_ms
215
218
  if preprocessed is not UNSET:
216
219
  field_dict["preprocessed"] = preprocessed
220
+ if worker is not UNSET:
221
+ field_dict["worker"] = worker
217
222
 
218
223
  return field_dict
219
224
 
@@ -314,6 +319,8 @@ class GetCompletedJobResponse200:
314
319
 
315
320
  preprocessed = d.pop("preprocessed", UNSET)
316
321
 
322
+ worker = d.pop("worker", UNSET)
323
+
317
324
  get_completed_job_response_200 = cls(
318
325
  id=id,
319
326
  created_by=created_by,
@@ -350,6 +357,7 @@ class GetCompletedJobResponse200:
350
357
  self_wait_time_ms=self_wait_time_ms,
351
358
  aggregate_wait_time_ms=aggregate_wait_time_ms,
352
359
  preprocessed=preprocessed,
360
+ worker=worker,
353
361
  )
354
362
 
355
363
  get_completed_job_response_200.additional_properties = d
@@ -25,6 +25,9 @@ class GetHttpTriggerResponse200:
25
25
  is_async (bool):
26
26
  requires_auth (bool):
27
27
  is_static_website (bool):
28
+ workspaced_route (bool):
29
+ wrap_body (bool):
30
+ raw_string (bool):
28
31
  path (str):
29
32
  script_path (str):
30
33
  email (str):
@@ -34,7 +37,6 @@ class GetHttpTriggerResponse200:
34
37
  edited_at (datetime.datetime):
35
38
  is_flow (bool):
36
39
  static_asset_config (Union[Unset, GetHttpTriggerResponse200StaticAssetConfig]):
37
- workspaced_route (Union[Unset, bool]):
38
40
  """
39
41
 
40
42
  route_path: str
@@ -42,6 +44,9 @@ class GetHttpTriggerResponse200:
42
44
  is_async: bool
43
45
  requires_auth: bool
44
46
  is_static_website: bool
47
+ workspaced_route: bool
48
+ wrap_body: bool
49
+ raw_string: bool
45
50
  path: str
46
51
  script_path: str
47
52
  email: str
@@ -51,7 +56,6 @@ class GetHttpTriggerResponse200:
51
56
  edited_at: datetime.datetime
52
57
  is_flow: bool
53
58
  static_asset_config: Union[Unset, "GetHttpTriggerResponse200StaticAssetConfig"] = UNSET
54
- workspaced_route: Union[Unset, bool] = UNSET
55
59
  additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
56
60
 
57
61
  def to_dict(self) -> Dict[str, Any]:
@@ -61,6 +65,9 @@ class GetHttpTriggerResponse200:
61
65
  is_async = self.is_async
62
66
  requires_auth = self.requires_auth
63
67
  is_static_website = self.is_static_website
68
+ workspaced_route = self.workspaced_route
69
+ wrap_body = self.wrap_body
70
+ raw_string = self.raw_string
64
71
  path = self.path
65
72
  script_path = self.script_path
66
73
  email = self.email
@@ -75,8 +82,6 @@ class GetHttpTriggerResponse200:
75
82
  if not isinstance(self.static_asset_config, Unset):
76
83
  static_asset_config = self.static_asset_config.to_dict()
77
84
 
78
- workspaced_route = self.workspaced_route
79
-
80
85
  field_dict: Dict[str, Any] = {}
81
86
  field_dict.update(self.additional_properties)
82
87
  field_dict.update(
@@ -86,6 +91,9 @@ class GetHttpTriggerResponse200:
86
91
  "is_async": is_async,
87
92
  "requires_auth": requires_auth,
88
93
  "is_static_website": is_static_website,
94
+ "workspaced_route": workspaced_route,
95
+ "wrap_body": wrap_body,
96
+ "raw_string": raw_string,
89
97
  "path": path,
90
98
  "script_path": script_path,
91
99
  "email": email,
@@ -98,8 +106,6 @@ class GetHttpTriggerResponse200:
98
106
  )
99
107
  if static_asset_config is not UNSET:
100
108
  field_dict["static_asset_config"] = static_asset_config
101
- if workspaced_route is not UNSET:
102
- field_dict["workspaced_route"] = workspaced_route
103
109
 
104
110
  return field_dict
105
111
 
@@ -121,6 +127,12 @@ class GetHttpTriggerResponse200:
121
127
 
122
128
  is_static_website = d.pop("is_static_website")
123
129
 
130
+ workspaced_route = d.pop("workspaced_route")
131
+
132
+ wrap_body = d.pop("wrap_body")
133
+
134
+ raw_string = d.pop("raw_string")
135
+
124
136
  path = d.pop("path")
125
137
 
126
138
  script_path = d.pop("script_path")
@@ -144,14 +156,15 @@ class GetHttpTriggerResponse200:
144
156
  else:
145
157
  static_asset_config = GetHttpTriggerResponse200StaticAssetConfig.from_dict(_static_asset_config)
146
158
 
147
- workspaced_route = d.pop("workspaced_route", UNSET)
148
-
149
159
  get_http_trigger_response_200 = cls(
150
160
  route_path=route_path,
151
161
  http_method=http_method,
152
162
  is_async=is_async,
153
163
  requires_auth=requires_auth,
154
164
  is_static_website=is_static_website,
165
+ workspaced_route=workspaced_route,
166
+ wrap_body=wrap_body,
167
+ raw_string=raw_string,
155
168
  path=path,
156
169
  script_path=script_path,
157
170
  email=email,
@@ -161,7 +174,6 @@ class GetHttpTriggerResponse200:
161
174
  edited_at=edited_at,
162
175
  is_flow=is_flow,
163
176
  static_asset_config=static_asset_config,
164
- workspaced_route=workspaced_route,
165
177
  )
166
178
 
167
179
  get_http_trigger_response_200.additional_properties = d
@@ -59,6 +59,7 @@ class GetJobResponse200Type0:
59
59
  self_wait_time_ms (Union[Unset, float]):
60
60
  aggregate_wait_time_ms (Union[Unset, float]):
61
61
  preprocessed (Union[Unset, bool]):
62
+ worker (Union[Unset, str]):
62
63
  type (Union[Unset, GetJobResponse200Type0Type]):
63
64
  """
64
65
 
@@ -97,6 +98,7 @@ class GetJobResponse200Type0:
97
98
  self_wait_time_ms: Union[Unset, float] = UNSET
98
99
  aggregate_wait_time_ms: Union[Unset, float] = UNSET
99
100
  preprocessed: Union[Unset, bool] = UNSET
101
+ worker: Union[Unset, str] = UNSET
100
102
  type: Union[Unset, GetJobResponse200Type0Type] = UNSET
101
103
  additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
102
104
 
@@ -154,6 +156,7 @@ class GetJobResponse200Type0:
154
156
  self_wait_time_ms = self.self_wait_time_ms
155
157
  aggregate_wait_time_ms = self.aggregate_wait_time_ms
156
158
  preprocessed = self.preprocessed
159
+ worker = self.worker
157
160
  type: Union[Unset, str] = UNSET
158
161
  if not isinstance(self.type, Unset):
159
162
  type = self.type.value
@@ -220,6 +223,8 @@ class GetJobResponse200Type0:
220
223
  field_dict["aggregate_wait_time_ms"] = aggregate_wait_time_ms
221
224
  if preprocessed is not UNSET:
222
225
  field_dict["preprocessed"] = preprocessed
226
+ if worker is not UNSET:
227
+ field_dict["worker"] = worker
223
228
  if type is not UNSET:
224
229
  field_dict["type"] = type
225
230
 
@@ -322,6 +327,8 @@ class GetJobResponse200Type0:
322
327
 
323
328
  preprocessed = d.pop("preprocessed", UNSET)
324
329
 
330
+ worker = d.pop("worker", UNSET)
331
+
325
332
  _type = d.pop("type", UNSET)
326
333
  type: Union[Unset, GetJobResponse200Type0Type]
327
334
  if isinstance(_type, Unset):
@@ -365,6 +372,7 @@ class GetJobResponse200Type0:
365
372
  self_wait_time_ms=self_wait_time_ms,
366
373
  aggregate_wait_time_ms=aggregate_wait_time_ms,
367
374
  preprocessed=preprocessed,
375
+ worker=worker,
368
376
  type=type,
369
377
  )
370
378
 
@@ -57,6 +57,7 @@ class GetJobResponse200Type1:
57
57
  aggregate_wait_time_ms (Union[Unset, float]):
58
58
  suspend (Union[Unset, float]):
59
59
  preprocessed (Union[Unset, bool]):
60
+ worker (Union[Unset, str]):
60
61
  type (Union[Unset, GetJobResponse200Type1Type]):
61
62
  """
62
63
 
@@ -93,6 +94,7 @@ class GetJobResponse200Type1:
93
94
  aggregate_wait_time_ms: Union[Unset, float] = UNSET
94
95
  suspend: Union[Unset, float] = UNSET
95
96
  preprocessed: Union[Unset, bool] = UNSET
97
+ worker: Union[Unset, str] = UNSET
96
98
  type: Union[Unset, GetJobResponse200Type1Type] = UNSET
97
99
  additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
98
100
 
@@ -155,6 +157,7 @@ class GetJobResponse200Type1:
155
157
  aggregate_wait_time_ms = self.aggregate_wait_time_ms
156
158
  suspend = self.suspend
157
159
  preprocessed = self.preprocessed
160
+ worker = self.worker
158
161
  type: Union[Unset, str] = UNSET
159
162
  if not isinstance(self.type, Unset):
160
163
  type = self.type.value
@@ -222,6 +225,8 @@ class GetJobResponse200Type1:
222
225
  field_dict["suspend"] = suspend
223
226
  if preprocessed is not UNSET:
224
227
  field_dict["preprocessed"] = preprocessed
228
+ if worker is not UNSET:
229
+ field_dict["worker"] = worker
225
230
  if type is not UNSET:
226
231
  field_dict["type"] = type
227
232
 
@@ -340,6 +345,8 @@ class GetJobResponse200Type1:
340
345
 
341
346
  preprocessed = d.pop("preprocessed", UNSET)
342
347
 
348
+ worker = d.pop("worker", UNSET)
349
+
343
350
  _type = d.pop("type", UNSET)
344
351
  type: Union[Unset, GetJobResponse200Type1Type]
345
352
  if isinstance(_type, Unset):
@@ -381,6 +388,7 @@ class GetJobResponse200Type1:
381
388
  aggregate_wait_time_ms=aggregate_wait_time_ms,
382
389
  suspend=suspend,
383
390
  preprocessed=preprocessed,
391
+ worker=worker,
384
392
  type=type,
385
393
  )
386
394
 
@@ -67,6 +67,7 @@ class GetSuspendedJobFlowResponse200JobType0:
67
67
  self_wait_time_ms (Union[Unset, float]):
68
68
  aggregate_wait_time_ms (Union[Unset, float]):
69
69
  preprocessed (Union[Unset, bool]):
70
+ worker (Union[Unset, str]):
70
71
  type (Union[Unset, GetSuspendedJobFlowResponse200JobType0Type]):
71
72
  """
72
73
 
@@ -105,6 +106,7 @@ class GetSuspendedJobFlowResponse200JobType0:
105
106
  self_wait_time_ms: Union[Unset, float] = UNSET
106
107
  aggregate_wait_time_ms: Union[Unset, float] = UNSET
107
108
  preprocessed: Union[Unset, bool] = UNSET
109
+ worker: Union[Unset, str] = UNSET
108
110
  type: Union[Unset, GetSuspendedJobFlowResponse200JobType0Type] = UNSET
109
111
  additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
110
112
 
@@ -162,6 +164,7 @@ class GetSuspendedJobFlowResponse200JobType0:
162
164
  self_wait_time_ms = self.self_wait_time_ms
163
165
  aggregate_wait_time_ms = self.aggregate_wait_time_ms
164
166
  preprocessed = self.preprocessed
167
+ worker = self.worker
165
168
  type: Union[Unset, str] = UNSET
166
169
  if not isinstance(self.type, Unset):
167
170
  type = self.type.value
@@ -228,6 +231,8 @@ class GetSuspendedJobFlowResponse200JobType0:
228
231
  field_dict["aggregate_wait_time_ms"] = aggregate_wait_time_ms
229
232
  if preprocessed is not UNSET:
230
233
  field_dict["preprocessed"] = preprocessed
234
+ if worker is not UNSET:
235
+ field_dict["worker"] = worker
231
236
  if type is not UNSET:
232
237
  field_dict["type"] = type
233
238
 
@@ -336,6 +341,8 @@ class GetSuspendedJobFlowResponse200JobType0:
336
341
 
337
342
  preprocessed = d.pop("preprocessed", UNSET)
338
343
 
344
+ worker = d.pop("worker", UNSET)
345
+
339
346
  _type = d.pop("type", UNSET)
340
347
  type: Union[Unset, GetSuspendedJobFlowResponse200JobType0Type]
341
348
  if isinstance(_type, Unset):
@@ -379,6 +386,7 @@ class GetSuspendedJobFlowResponse200JobType0:
379
386
  self_wait_time_ms=self_wait_time_ms,
380
387
  aggregate_wait_time_ms=aggregate_wait_time_ms,
381
388
  preprocessed=preprocessed,
389
+ worker=worker,
382
390
  type=type,
383
391
  )
384
392
 
@@ -65,6 +65,7 @@ class GetSuspendedJobFlowResponse200JobType1:
65
65
  aggregate_wait_time_ms (Union[Unset, float]):
66
66
  suspend (Union[Unset, float]):
67
67
  preprocessed (Union[Unset, bool]):
68
+ worker (Union[Unset, str]):
68
69
  type (Union[Unset, GetSuspendedJobFlowResponse200JobType1Type]):
69
70
  """
70
71
 
@@ -101,6 +102,7 @@ class GetSuspendedJobFlowResponse200JobType1:
101
102
  aggregate_wait_time_ms: Union[Unset, float] = UNSET
102
103
  suspend: Union[Unset, float] = UNSET
103
104
  preprocessed: Union[Unset, bool] = UNSET
105
+ worker: Union[Unset, str] = UNSET
104
106
  type: Union[Unset, GetSuspendedJobFlowResponse200JobType1Type] = UNSET
105
107
  additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
106
108
 
@@ -163,6 +165,7 @@ class GetSuspendedJobFlowResponse200JobType1:
163
165
  aggregate_wait_time_ms = self.aggregate_wait_time_ms
164
166
  suspend = self.suspend
165
167
  preprocessed = self.preprocessed
168
+ worker = self.worker
166
169
  type: Union[Unset, str] = UNSET
167
170
  if not isinstance(self.type, Unset):
168
171
  type = self.type.value
@@ -230,6 +233,8 @@ class GetSuspendedJobFlowResponse200JobType1:
230
233
  field_dict["suspend"] = suspend
231
234
  if preprocessed is not UNSET:
232
235
  field_dict["preprocessed"] = preprocessed
236
+ if worker is not UNSET:
237
+ field_dict["worker"] = worker
233
238
  if type is not UNSET:
234
239
  field_dict["type"] = type
235
240
 
@@ -354,6 +359,8 @@ class GetSuspendedJobFlowResponse200JobType1:
354
359
 
355
360
  preprocessed = d.pop("preprocessed", UNSET)
356
361
 
362
+ worker = d.pop("worker", UNSET)
363
+
357
364
  _type = d.pop("type", UNSET)
358
365
  type: Union[Unset, GetSuspendedJobFlowResponse200JobType1Type]
359
366
  if isinstance(_type, Unset):
@@ -395,6 +402,7 @@ class GetSuspendedJobFlowResponse200JobType1:
395
402
  aggregate_wait_time_ms=aggregate_wait_time_ms,
396
403
  suspend=suspend,
397
404
  preprocessed=preprocessed,
405
+ worker=worker,
398
406
  type=type,
399
407
  )
400
408