windmill-api 1.566.0__py3-none-any.whl → 1.567.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 (25) hide show
  1. windmill_api/api/concurrency_groups/list_extended_jobs.py +72 -55
  2. windmill_api/api/job/list_filtered_jobs_uuids.py +72 -55
  3. windmill_api/api/job/list_jobs.py +72 -70
  4. windmill_api/api/workspace/create_workspace_fork.py +10 -1
  5. windmill_api/models/archive_script_by_hash_response_200.py +16 -0
  6. windmill_api/models/completed_job.py +16 -0
  7. windmill_api/models/create_workspace_fork.py +0 -15
  8. windmill_api/models/create_workspace_fork_json_body.py +0 -15
  9. windmill_api/models/delete_completed_job_response_200.py +16 -0
  10. windmill_api/models/delete_script_by_hash_response_200.py +16 -0
  11. windmill_api/models/extended_jobs_jobs_item_type_0.py +16 -0
  12. windmill_api/models/get_completed_job_response_200.py +16 -0
  13. windmill_api/models/get_job_response_200_type_0.py +16 -0
  14. windmill_api/models/get_script_by_hash_response_200.py +16 -0
  15. windmill_api/models/get_script_by_path_response_200.py +16 -0
  16. windmill_api/models/get_suspended_job_flow_response_200_job_type_0.py +16 -0
  17. windmill_api/models/list_completed_jobs_response_200_item.py +16 -0
  18. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_0.py +16 -0
  19. windmill_api/models/list_jobs_response_200_item_type_0.py +16 -0
  20. windmill_api/models/list_scripts_response_200_item.py +16 -0
  21. windmill_api/models/script.py +16 -0
  22. {windmill_api-1.566.0.dist-info → windmill_api-1.567.0.dist-info}/METADATA +1 -1
  23. {windmill_api-1.566.0.dist-info → windmill_api-1.567.0.dist-info}/RECORD +25 -25
  24. {windmill_api-1.566.0.dist-info → windmill_api-1.567.0.dist-info}/LICENSE +0 -0
  25. {windmill_api-1.566.0.dist-info → windmill_api-1.567.0.dist-info}/WHEEL +0 -0
@@ -42,6 +42,7 @@ class DeleteCompletedJobResponse200:
42
42
  tag (str):
43
43
  workspace_id (Union[Unset, str]):
44
44
  parent_job (Union[Unset, str]):
45
+ completed_at (Union[Unset, datetime.datetime]):
45
46
  script_path (Union[Unset, str]):
46
47
  script_hash (Union[Unset, str]):
47
48
  args (Union[Unset, DeleteCompletedJobResponse200Args]): The arguments to pass to the script or flow
@@ -81,6 +82,7 @@ class DeleteCompletedJobResponse200:
81
82
  tag: str
82
83
  workspace_id: Union[Unset, str] = UNSET
83
84
  parent_job: Union[Unset, str] = UNSET
85
+ completed_at: Union[Unset, datetime.datetime] = UNSET
84
86
  script_path: Union[Unset, str] = UNSET
85
87
  script_hash: Union[Unset, str] = UNSET
86
88
  args: Union[Unset, "DeleteCompletedJobResponse200Args"] = UNSET
@@ -124,6 +126,10 @@ class DeleteCompletedJobResponse200:
124
126
  tag = self.tag
125
127
  workspace_id = self.workspace_id
126
128
  parent_job = self.parent_job
129
+ completed_at: Union[Unset, str] = UNSET
130
+ if not isinstance(self.completed_at, Unset):
131
+ completed_at = self.completed_at.isoformat()
132
+
127
133
  script_path = self.script_path
128
134
  script_hash = self.script_hash
129
135
  args: Union[Unset, Dict[str, Any]] = UNSET
@@ -188,6 +194,8 @@ class DeleteCompletedJobResponse200:
188
194
  field_dict["workspace_id"] = workspace_id
189
195
  if parent_job is not UNSET:
190
196
  field_dict["parent_job"] = parent_job
197
+ if completed_at is not UNSET:
198
+ field_dict["completed_at"] = completed_at
191
199
  if script_path is not UNSET:
192
200
  field_dict["script_path"] = script_path
193
201
  if script_hash is not UNSET:
@@ -275,6 +283,13 @@ class DeleteCompletedJobResponse200:
275
283
 
276
284
  parent_job = d.pop("parent_job", UNSET)
277
285
 
286
+ _completed_at = d.pop("completed_at", UNSET)
287
+ completed_at: Union[Unset, datetime.datetime]
288
+ if isinstance(_completed_at, Unset):
289
+ completed_at = UNSET
290
+ else:
291
+ completed_at = isoparse(_completed_at)
292
+
278
293
  script_path = d.pop("script_path", UNSET)
279
294
 
280
295
  script_hash = d.pop("script_hash", UNSET)
@@ -361,6 +376,7 @@ class DeleteCompletedJobResponse200:
361
376
  tag=tag,
362
377
  workspace_id=workspace_id,
363
378
  parent_job=parent_job,
379
+ completed_at=completed_at,
364
380
  script_path=script_path,
365
381
  script_hash=script_hash,
366
382
  args=args,
@@ -50,6 +50,8 @@ class DeleteScriptByHashResponse200:
50
50
  concurrent_limit (Union[Unset, int]):
51
51
  concurrency_time_window_s (Union[Unset, int]):
52
52
  concurrency_key (Union[Unset, str]):
53
+ debounce_key (Union[Unset, str]):
54
+ debounce_delay_s (Union[Unset, int]):
53
55
  cache_ttl (Union[Unset, float]):
54
56
  dedicated_worker (Union[Unset, bool]):
55
57
  ws_error_handler_muted (Union[Unset, bool]):
@@ -90,6 +92,8 @@ class DeleteScriptByHashResponse200:
90
92
  concurrent_limit: Union[Unset, int] = UNSET
91
93
  concurrency_time_window_s: Union[Unset, int] = UNSET
92
94
  concurrency_key: Union[Unset, str] = UNSET
95
+ debounce_key: Union[Unset, str] = UNSET
96
+ debounce_delay_s: Union[Unset, int] = UNSET
93
97
  cache_ttl: Union[Unset, float] = UNSET
94
98
  dedicated_worker: Union[Unset, bool] = UNSET
95
99
  ws_error_handler_muted: Union[Unset, bool] = UNSET
@@ -144,6 +148,8 @@ class DeleteScriptByHashResponse200:
144
148
  concurrent_limit = self.concurrent_limit
145
149
  concurrency_time_window_s = self.concurrency_time_window_s
146
150
  concurrency_key = self.concurrency_key
151
+ debounce_key = self.debounce_key
152
+ debounce_delay_s = self.debounce_delay_s
147
153
  cache_ttl = self.cache_ttl
148
154
  dedicated_worker = self.dedicated_worker
149
155
  ws_error_handler_muted = self.ws_error_handler_muted
@@ -201,6 +207,10 @@ class DeleteScriptByHashResponse200:
201
207
  field_dict["concurrency_time_window_s"] = concurrency_time_window_s
202
208
  if concurrency_key is not UNSET:
203
209
  field_dict["concurrency_key"] = concurrency_key
210
+ if debounce_key is not UNSET:
211
+ field_dict["debounce_key"] = debounce_key
212
+ if debounce_delay_s is not UNSET:
213
+ field_dict["debounce_delay_s"] = debounce_delay_s
204
214
  if cache_ttl is not UNSET:
205
215
  field_dict["cache_ttl"] = cache_ttl
206
216
  if dedicated_worker is not UNSET:
@@ -291,6 +301,10 @@ class DeleteScriptByHashResponse200:
291
301
 
292
302
  concurrency_key = d.pop("concurrency_key", UNSET)
293
303
 
304
+ debounce_key = d.pop("debounce_key", UNSET)
305
+
306
+ debounce_delay_s = d.pop("debounce_delay_s", UNSET)
307
+
294
308
  cache_ttl = d.pop("cache_ttl", UNSET)
295
309
 
296
310
  dedicated_worker = d.pop("dedicated_worker", UNSET)
@@ -340,6 +354,8 @@ class DeleteScriptByHashResponse200:
340
354
  concurrent_limit=concurrent_limit,
341
355
  concurrency_time_window_s=concurrency_time_window_s,
342
356
  concurrency_key=concurrency_key,
357
+ debounce_key=debounce_key,
358
+ debounce_delay_s=debounce_delay_s,
343
359
  cache_ttl=cache_ttl,
344
360
  dedicated_worker=dedicated_worker,
345
361
  ws_error_handler_muted=ws_error_handler_muted,
@@ -43,6 +43,7 @@ class ExtendedJobsJobsItemType0:
43
43
  tag (str):
44
44
  workspace_id (Union[Unset, str]):
45
45
  parent_job (Union[Unset, str]):
46
+ completed_at (Union[Unset, datetime.datetime]):
46
47
  script_path (Union[Unset, str]):
47
48
  script_hash (Union[Unset, str]):
48
49
  args (Union[Unset, ExtendedJobsJobsItemType0Args]): The arguments to pass to the script or flow
@@ -83,6 +84,7 @@ class ExtendedJobsJobsItemType0:
83
84
  tag: str
84
85
  workspace_id: Union[Unset, str] = UNSET
85
86
  parent_job: Union[Unset, str] = UNSET
87
+ completed_at: Union[Unset, datetime.datetime] = UNSET
86
88
  script_path: Union[Unset, str] = UNSET
87
89
  script_hash: Union[Unset, str] = UNSET
88
90
  args: Union[Unset, "ExtendedJobsJobsItemType0Args"] = UNSET
@@ -127,6 +129,10 @@ class ExtendedJobsJobsItemType0:
127
129
  tag = self.tag
128
130
  workspace_id = self.workspace_id
129
131
  parent_job = self.parent_job
132
+ completed_at: Union[Unset, str] = UNSET
133
+ if not isinstance(self.completed_at, Unset):
134
+ completed_at = self.completed_at.isoformat()
135
+
130
136
  script_path = self.script_path
131
137
  script_hash = self.script_hash
132
138
  args: Union[Unset, Dict[str, Any]] = UNSET
@@ -194,6 +200,8 @@ class ExtendedJobsJobsItemType0:
194
200
  field_dict["workspace_id"] = workspace_id
195
201
  if parent_job is not UNSET:
196
202
  field_dict["parent_job"] = parent_job
203
+ if completed_at is not UNSET:
204
+ field_dict["completed_at"] = completed_at
197
205
  if script_path is not UNSET:
198
206
  field_dict["script_path"] = script_path
199
207
  if script_hash is not UNSET:
@@ -283,6 +291,13 @@ class ExtendedJobsJobsItemType0:
283
291
 
284
292
  parent_job = d.pop("parent_job", UNSET)
285
293
 
294
+ _completed_at = d.pop("completed_at", UNSET)
295
+ completed_at: Union[Unset, datetime.datetime]
296
+ if isinstance(_completed_at, Unset):
297
+ completed_at = UNSET
298
+ else:
299
+ completed_at = isoparse(_completed_at)
300
+
286
301
  script_path = d.pop("script_path", UNSET)
287
302
 
288
303
  script_hash = d.pop("script_hash", UNSET)
@@ -374,6 +389,7 @@ class ExtendedJobsJobsItemType0:
374
389
  tag=tag,
375
390
  workspace_id=workspace_id,
376
391
  parent_job=parent_job,
392
+ completed_at=completed_at,
377
393
  script_path=script_path,
378
394
  script_hash=script_hash,
379
395
  args=args,
@@ -42,6 +42,7 @@ class GetCompletedJobResponse200:
42
42
  tag (str):
43
43
  workspace_id (Union[Unset, str]):
44
44
  parent_job (Union[Unset, str]):
45
+ completed_at (Union[Unset, datetime.datetime]):
45
46
  script_path (Union[Unset, str]):
46
47
  script_hash (Union[Unset, str]):
47
48
  args (Union[Unset, GetCompletedJobResponse200Args]): The arguments to pass to the script or flow
@@ -81,6 +82,7 @@ class GetCompletedJobResponse200:
81
82
  tag: str
82
83
  workspace_id: Union[Unset, str] = UNSET
83
84
  parent_job: Union[Unset, str] = UNSET
85
+ completed_at: Union[Unset, datetime.datetime] = UNSET
84
86
  script_path: Union[Unset, str] = UNSET
85
87
  script_hash: Union[Unset, str] = UNSET
86
88
  args: Union[Unset, "GetCompletedJobResponse200Args"] = UNSET
@@ -124,6 +126,10 @@ class GetCompletedJobResponse200:
124
126
  tag = self.tag
125
127
  workspace_id = self.workspace_id
126
128
  parent_job = self.parent_job
129
+ completed_at: Union[Unset, str] = UNSET
130
+ if not isinstance(self.completed_at, Unset):
131
+ completed_at = self.completed_at.isoformat()
132
+
127
133
  script_path = self.script_path
128
134
  script_hash = self.script_hash
129
135
  args: Union[Unset, Dict[str, Any]] = UNSET
@@ -188,6 +194,8 @@ class GetCompletedJobResponse200:
188
194
  field_dict["workspace_id"] = workspace_id
189
195
  if parent_job is not UNSET:
190
196
  field_dict["parent_job"] = parent_job
197
+ if completed_at is not UNSET:
198
+ field_dict["completed_at"] = completed_at
191
199
  if script_path is not UNSET:
192
200
  field_dict["script_path"] = script_path
193
201
  if script_hash is not UNSET:
@@ -275,6 +283,13 @@ class GetCompletedJobResponse200:
275
283
 
276
284
  parent_job = d.pop("parent_job", UNSET)
277
285
 
286
+ _completed_at = d.pop("completed_at", UNSET)
287
+ completed_at: Union[Unset, datetime.datetime]
288
+ if isinstance(_completed_at, Unset):
289
+ completed_at = UNSET
290
+ else:
291
+ completed_at = isoparse(_completed_at)
292
+
278
293
  script_path = d.pop("script_path", UNSET)
279
294
 
280
295
  script_hash = d.pop("script_hash", UNSET)
@@ -359,6 +374,7 @@ class GetCompletedJobResponse200:
359
374
  tag=tag,
360
375
  workspace_id=workspace_id,
361
376
  parent_job=parent_job,
377
+ completed_at=completed_at,
362
378
  script_path=script_path,
363
379
  script_hash=script_hash,
364
380
  args=args,
@@ -41,6 +41,7 @@ class GetJobResponse200Type0:
41
41
  tag (str):
42
42
  workspace_id (Union[Unset, str]):
43
43
  parent_job (Union[Unset, str]):
44
+ completed_at (Union[Unset, datetime.datetime]):
44
45
  script_path (Union[Unset, str]):
45
46
  script_hash (Union[Unset, str]):
46
47
  args (Union[Unset, GetJobResponse200Type0Args]): The arguments to pass to the script or flow
@@ -81,6 +82,7 @@ class GetJobResponse200Type0:
81
82
  tag: str
82
83
  workspace_id: Union[Unset, str] = UNSET
83
84
  parent_job: Union[Unset, str] = UNSET
85
+ completed_at: Union[Unset, datetime.datetime] = UNSET
84
86
  script_path: Union[Unset, str] = UNSET
85
87
  script_hash: Union[Unset, str] = UNSET
86
88
  args: Union[Unset, "GetJobResponse200Type0Args"] = UNSET
@@ -125,6 +127,10 @@ class GetJobResponse200Type0:
125
127
  tag = self.tag
126
128
  workspace_id = self.workspace_id
127
129
  parent_job = self.parent_job
130
+ completed_at: Union[Unset, str] = UNSET
131
+ if not isinstance(self.completed_at, Unset):
132
+ completed_at = self.completed_at.isoformat()
133
+
128
134
  script_path = self.script_path
129
135
  script_hash = self.script_hash
130
136
  args: Union[Unset, Dict[str, Any]] = UNSET
@@ -192,6 +198,8 @@ class GetJobResponse200Type0:
192
198
  field_dict["workspace_id"] = workspace_id
193
199
  if parent_job is not UNSET:
194
200
  field_dict["parent_job"] = parent_job
201
+ if completed_at is not UNSET:
202
+ field_dict["completed_at"] = completed_at
195
203
  if script_path is not UNSET:
196
204
  field_dict["script_path"] = script_path
197
205
  if script_hash is not UNSET:
@@ -281,6 +289,13 @@ class GetJobResponse200Type0:
281
289
 
282
290
  parent_job = d.pop("parent_job", UNSET)
283
291
 
292
+ _completed_at = d.pop("completed_at", UNSET)
293
+ completed_at: Union[Unset, datetime.datetime]
294
+ if isinstance(_completed_at, Unset):
295
+ completed_at = UNSET
296
+ else:
297
+ completed_at = isoparse(_completed_at)
298
+
284
299
  script_path = d.pop("script_path", UNSET)
285
300
 
286
301
  script_hash = d.pop("script_hash", UNSET)
@@ -372,6 +387,7 @@ class GetJobResponse200Type0:
372
387
  tag=tag,
373
388
  workspace_id=workspace_id,
374
389
  parent_job=parent_job,
390
+ completed_at=completed_at,
375
391
  script_path=script_path,
376
392
  script_hash=script_hash,
377
393
  args=args,
@@ -50,6 +50,8 @@ class GetScriptByHashResponse200:
50
50
  concurrent_limit (Union[Unset, int]):
51
51
  concurrency_time_window_s (Union[Unset, int]):
52
52
  concurrency_key (Union[Unset, str]):
53
+ debounce_key (Union[Unset, str]):
54
+ debounce_delay_s (Union[Unset, int]):
53
55
  cache_ttl (Union[Unset, float]):
54
56
  dedicated_worker (Union[Unset, bool]):
55
57
  ws_error_handler_muted (Union[Unset, bool]):
@@ -90,6 +92,8 @@ class GetScriptByHashResponse200:
90
92
  concurrent_limit: Union[Unset, int] = UNSET
91
93
  concurrency_time_window_s: Union[Unset, int] = UNSET
92
94
  concurrency_key: Union[Unset, str] = UNSET
95
+ debounce_key: Union[Unset, str] = UNSET
96
+ debounce_delay_s: Union[Unset, int] = UNSET
93
97
  cache_ttl: Union[Unset, float] = UNSET
94
98
  dedicated_worker: Union[Unset, bool] = UNSET
95
99
  ws_error_handler_muted: Union[Unset, bool] = UNSET
@@ -144,6 +148,8 @@ class GetScriptByHashResponse200:
144
148
  concurrent_limit = self.concurrent_limit
145
149
  concurrency_time_window_s = self.concurrency_time_window_s
146
150
  concurrency_key = self.concurrency_key
151
+ debounce_key = self.debounce_key
152
+ debounce_delay_s = self.debounce_delay_s
147
153
  cache_ttl = self.cache_ttl
148
154
  dedicated_worker = self.dedicated_worker
149
155
  ws_error_handler_muted = self.ws_error_handler_muted
@@ -201,6 +207,10 @@ class GetScriptByHashResponse200:
201
207
  field_dict["concurrency_time_window_s"] = concurrency_time_window_s
202
208
  if concurrency_key is not UNSET:
203
209
  field_dict["concurrency_key"] = concurrency_key
210
+ if debounce_key is not UNSET:
211
+ field_dict["debounce_key"] = debounce_key
212
+ if debounce_delay_s is not UNSET:
213
+ field_dict["debounce_delay_s"] = debounce_delay_s
204
214
  if cache_ttl is not UNSET:
205
215
  field_dict["cache_ttl"] = cache_ttl
206
216
  if dedicated_worker is not UNSET:
@@ -291,6 +301,10 @@ class GetScriptByHashResponse200:
291
301
 
292
302
  concurrency_key = d.pop("concurrency_key", UNSET)
293
303
 
304
+ debounce_key = d.pop("debounce_key", UNSET)
305
+
306
+ debounce_delay_s = d.pop("debounce_delay_s", UNSET)
307
+
294
308
  cache_ttl = d.pop("cache_ttl", UNSET)
295
309
 
296
310
  dedicated_worker = d.pop("dedicated_worker", UNSET)
@@ -340,6 +354,8 @@ class GetScriptByHashResponse200:
340
354
  concurrent_limit=concurrent_limit,
341
355
  concurrency_time_window_s=concurrency_time_window_s,
342
356
  concurrency_key=concurrency_key,
357
+ debounce_key=debounce_key,
358
+ debounce_delay_s=debounce_delay_s,
343
359
  cache_ttl=cache_ttl,
344
360
  dedicated_worker=dedicated_worker,
345
361
  ws_error_handler_muted=ws_error_handler_muted,
@@ -50,6 +50,8 @@ class GetScriptByPathResponse200:
50
50
  concurrent_limit (Union[Unset, int]):
51
51
  concurrency_time_window_s (Union[Unset, int]):
52
52
  concurrency_key (Union[Unset, str]):
53
+ debounce_key (Union[Unset, str]):
54
+ debounce_delay_s (Union[Unset, int]):
53
55
  cache_ttl (Union[Unset, float]):
54
56
  dedicated_worker (Union[Unset, bool]):
55
57
  ws_error_handler_muted (Union[Unset, bool]):
@@ -90,6 +92,8 @@ class GetScriptByPathResponse200:
90
92
  concurrent_limit: Union[Unset, int] = UNSET
91
93
  concurrency_time_window_s: Union[Unset, int] = UNSET
92
94
  concurrency_key: Union[Unset, str] = UNSET
95
+ debounce_key: Union[Unset, str] = UNSET
96
+ debounce_delay_s: Union[Unset, int] = UNSET
93
97
  cache_ttl: Union[Unset, float] = UNSET
94
98
  dedicated_worker: Union[Unset, bool] = UNSET
95
99
  ws_error_handler_muted: Union[Unset, bool] = UNSET
@@ -144,6 +148,8 @@ class GetScriptByPathResponse200:
144
148
  concurrent_limit = self.concurrent_limit
145
149
  concurrency_time_window_s = self.concurrency_time_window_s
146
150
  concurrency_key = self.concurrency_key
151
+ debounce_key = self.debounce_key
152
+ debounce_delay_s = self.debounce_delay_s
147
153
  cache_ttl = self.cache_ttl
148
154
  dedicated_worker = self.dedicated_worker
149
155
  ws_error_handler_muted = self.ws_error_handler_muted
@@ -201,6 +207,10 @@ class GetScriptByPathResponse200:
201
207
  field_dict["concurrency_time_window_s"] = concurrency_time_window_s
202
208
  if concurrency_key is not UNSET:
203
209
  field_dict["concurrency_key"] = concurrency_key
210
+ if debounce_key is not UNSET:
211
+ field_dict["debounce_key"] = debounce_key
212
+ if debounce_delay_s is not UNSET:
213
+ field_dict["debounce_delay_s"] = debounce_delay_s
204
214
  if cache_ttl is not UNSET:
205
215
  field_dict["cache_ttl"] = cache_ttl
206
216
  if dedicated_worker is not UNSET:
@@ -291,6 +301,10 @@ class GetScriptByPathResponse200:
291
301
 
292
302
  concurrency_key = d.pop("concurrency_key", UNSET)
293
303
 
304
+ debounce_key = d.pop("debounce_key", UNSET)
305
+
306
+ debounce_delay_s = d.pop("debounce_delay_s", UNSET)
307
+
294
308
  cache_ttl = d.pop("cache_ttl", UNSET)
295
309
 
296
310
  dedicated_worker = d.pop("dedicated_worker", UNSET)
@@ -340,6 +354,8 @@ class GetScriptByPathResponse200:
340
354
  concurrent_limit=concurrent_limit,
341
355
  concurrency_time_window_s=concurrency_time_window_s,
342
356
  concurrency_key=concurrency_key,
357
+ debounce_key=debounce_key,
358
+ debounce_delay_s=debounce_delay_s,
343
359
  cache_ttl=cache_ttl,
344
360
  dedicated_worker=dedicated_worker,
345
361
  ws_error_handler_muted=ws_error_handler_muted,
@@ -51,6 +51,7 @@ class GetSuspendedJobFlowResponse200JobType0:
51
51
  tag (str):
52
52
  workspace_id (Union[Unset, str]):
53
53
  parent_job (Union[Unset, str]):
54
+ completed_at (Union[Unset, datetime.datetime]):
54
55
  script_path (Union[Unset, str]):
55
56
  script_hash (Union[Unset, str]):
56
57
  args (Union[Unset, GetSuspendedJobFlowResponse200JobType0Args]): The arguments to pass to the script or flow
@@ -91,6 +92,7 @@ class GetSuspendedJobFlowResponse200JobType0:
91
92
  tag: str
92
93
  workspace_id: Union[Unset, str] = UNSET
93
94
  parent_job: Union[Unset, str] = UNSET
95
+ completed_at: Union[Unset, datetime.datetime] = UNSET
94
96
  script_path: Union[Unset, str] = UNSET
95
97
  script_hash: Union[Unset, str] = UNSET
96
98
  args: Union[Unset, "GetSuspendedJobFlowResponse200JobType0Args"] = UNSET
@@ -135,6 +137,10 @@ class GetSuspendedJobFlowResponse200JobType0:
135
137
  tag = self.tag
136
138
  workspace_id = self.workspace_id
137
139
  parent_job = self.parent_job
140
+ completed_at: Union[Unset, str] = UNSET
141
+ if not isinstance(self.completed_at, Unset):
142
+ completed_at = self.completed_at.isoformat()
143
+
138
144
  script_path = self.script_path
139
145
  script_hash = self.script_hash
140
146
  args: Union[Unset, Dict[str, Any]] = UNSET
@@ -202,6 +208,8 @@ class GetSuspendedJobFlowResponse200JobType0:
202
208
  field_dict["workspace_id"] = workspace_id
203
209
  if parent_job is not UNSET:
204
210
  field_dict["parent_job"] = parent_job
211
+ if completed_at is not UNSET:
212
+ field_dict["completed_at"] = completed_at
205
213
  if script_path is not UNSET:
206
214
  field_dict["script_path"] = script_path
207
215
  if script_hash is not UNSET:
@@ -297,6 +305,13 @@ class GetSuspendedJobFlowResponse200JobType0:
297
305
 
298
306
  parent_job = d.pop("parent_job", UNSET)
299
307
 
308
+ _completed_at = d.pop("completed_at", UNSET)
309
+ completed_at: Union[Unset, datetime.datetime]
310
+ if isinstance(_completed_at, Unset):
311
+ completed_at = UNSET
312
+ else:
313
+ completed_at = isoparse(_completed_at)
314
+
300
315
  script_path = d.pop("script_path", UNSET)
301
316
 
302
317
  script_hash = d.pop("script_hash", UNSET)
@@ -390,6 +405,7 @@ class GetSuspendedJobFlowResponse200JobType0:
390
405
  tag=tag,
391
406
  workspace_id=workspace_id,
392
407
  parent_job=parent_job,
408
+ completed_at=completed_at,
393
409
  script_path=script_path,
394
410
  script_hash=script_hash,
395
411
  args=args,
@@ -42,6 +42,7 @@ class ListCompletedJobsResponse200Item:
42
42
  tag (str):
43
43
  workspace_id (Union[Unset, str]):
44
44
  parent_job (Union[Unset, str]):
45
+ completed_at (Union[Unset, datetime.datetime]):
45
46
  script_path (Union[Unset, str]):
46
47
  script_hash (Union[Unset, str]):
47
48
  args (Union[Unset, ListCompletedJobsResponse200ItemArgs]): The arguments to pass to the script or flow
@@ -81,6 +82,7 @@ class ListCompletedJobsResponse200Item:
81
82
  tag: str
82
83
  workspace_id: Union[Unset, str] = UNSET
83
84
  parent_job: Union[Unset, str] = UNSET
85
+ completed_at: Union[Unset, datetime.datetime] = UNSET
84
86
  script_path: Union[Unset, str] = UNSET
85
87
  script_hash: Union[Unset, str] = UNSET
86
88
  args: Union[Unset, "ListCompletedJobsResponse200ItemArgs"] = UNSET
@@ -124,6 +126,10 @@ class ListCompletedJobsResponse200Item:
124
126
  tag = self.tag
125
127
  workspace_id = self.workspace_id
126
128
  parent_job = self.parent_job
129
+ completed_at: Union[Unset, str] = UNSET
130
+ if not isinstance(self.completed_at, Unset):
131
+ completed_at = self.completed_at.isoformat()
132
+
127
133
  script_path = self.script_path
128
134
  script_hash = self.script_hash
129
135
  args: Union[Unset, Dict[str, Any]] = UNSET
@@ -188,6 +194,8 @@ class ListCompletedJobsResponse200Item:
188
194
  field_dict["workspace_id"] = workspace_id
189
195
  if parent_job is not UNSET:
190
196
  field_dict["parent_job"] = parent_job
197
+ if completed_at is not UNSET:
198
+ field_dict["completed_at"] = completed_at
191
199
  if script_path is not UNSET:
192
200
  field_dict["script_path"] = script_path
193
201
  if script_hash is not UNSET:
@@ -277,6 +285,13 @@ class ListCompletedJobsResponse200Item:
277
285
 
278
286
  parent_job = d.pop("parent_job", UNSET)
279
287
 
288
+ _completed_at = d.pop("completed_at", UNSET)
289
+ completed_at: Union[Unset, datetime.datetime]
290
+ if isinstance(_completed_at, Unset):
291
+ completed_at = UNSET
292
+ else:
293
+ completed_at = isoparse(_completed_at)
294
+
280
295
  script_path = d.pop("script_path", UNSET)
281
296
 
282
297
  script_hash = d.pop("script_hash", UNSET)
@@ -363,6 +378,7 @@ class ListCompletedJobsResponse200Item:
363
378
  tag=tag,
364
379
  workspace_id=workspace_id,
365
380
  parent_job=parent_job,
381
+ completed_at=completed_at,
366
382
  script_path=script_path,
367
383
  script_hash=script_hash,
368
384
  args=args,
@@ -53,6 +53,7 @@ class ListExtendedJobsResponse200JobsItemType0:
53
53
  tag (str):
54
54
  workspace_id (Union[Unset, str]):
55
55
  parent_job (Union[Unset, str]):
56
+ completed_at (Union[Unset, datetime.datetime]):
56
57
  script_path (Union[Unset, str]):
57
58
  script_hash (Union[Unset, str]):
58
59
  args (Union[Unset, ListExtendedJobsResponse200JobsItemType0Args]): The arguments to pass to the script or flow
@@ -93,6 +94,7 @@ class ListExtendedJobsResponse200JobsItemType0:
93
94
  tag: str
94
95
  workspace_id: Union[Unset, str] = UNSET
95
96
  parent_job: Union[Unset, str] = UNSET
97
+ completed_at: Union[Unset, datetime.datetime] = UNSET
96
98
  script_path: Union[Unset, str] = UNSET
97
99
  script_hash: Union[Unset, str] = UNSET
98
100
  args: Union[Unset, "ListExtendedJobsResponse200JobsItemType0Args"] = UNSET
@@ -137,6 +139,10 @@ class ListExtendedJobsResponse200JobsItemType0:
137
139
  tag = self.tag
138
140
  workspace_id = self.workspace_id
139
141
  parent_job = self.parent_job
142
+ completed_at: Union[Unset, str] = UNSET
143
+ if not isinstance(self.completed_at, Unset):
144
+ completed_at = self.completed_at.isoformat()
145
+
140
146
  script_path = self.script_path
141
147
  script_hash = self.script_hash
142
148
  args: Union[Unset, Dict[str, Any]] = UNSET
@@ -204,6 +210,8 @@ class ListExtendedJobsResponse200JobsItemType0:
204
210
  field_dict["workspace_id"] = workspace_id
205
211
  if parent_job is not UNSET:
206
212
  field_dict["parent_job"] = parent_job
213
+ if completed_at is not UNSET:
214
+ field_dict["completed_at"] = completed_at
207
215
  if script_path is not UNSET:
208
216
  field_dict["script_path"] = script_path
209
217
  if script_hash is not UNSET:
@@ -299,6 +307,13 @@ class ListExtendedJobsResponse200JobsItemType0:
299
307
 
300
308
  parent_job = d.pop("parent_job", UNSET)
301
309
 
310
+ _completed_at = d.pop("completed_at", UNSET)
311
+ completed_at: Union[Unset, datetime.datetime]
312
+ if isinstance(_completed_at, Unset):
313
+ completed_at = UNSET
314
+ else:
315
+ completed_at = isoparse(_completed_at)
316
+
302
317
  script_path = d.pop("script_path", UNSET)
303
318
 
304
319
  script_hash = d.pop("script_hash", UNSET)
@@ -392,6 +407,7 @@ class ListExtendedJobsResponse200JobsItemType0:
392
407
  tag=tag,
393
408
  workspace_id=workspace_id,
394
409
  parent_job=parent_job,
410
+ completed_at=completed_at,
395
411
  script_path=script_path,
396
412
  script_hash=script_hash,
397
413
  args=args,
@@ -43,6 +43,7 @@ class ListJobsResponse200ItemType0:
43
43
  tag (str):
44
44
  workspace_id (Union[Unset, str]):
45
45
  parent_job (Union[Unset, str]):
46
+ completed_at (Union[Unset, datetime.datetime]):
46
47
  script_path (Union[Unset, str]):
47
48
  script_hash (Union[Unset, str]):
48
49
  args (Union[Unset, ListJobsResponse200ItemType0Args]): The arguments to pass to the script or flow
@@ -83,6 +84,7 @@ class ListJobsResponse200ItemType0:
83
84
  tag: str
84
85
  workspace_id: Union[Unset, str] = UNSET
85
86
  parent_job: Union[Unset, str] = UNSET
87
+ completed_at: Union[Unset, datetime.datetime] = UNSET
86
88
  script_path: Union[Unset, str] = UNSET
87
89
  script_hash: Union[Unset, str] = UNSET
88
90
  args: Union[Unset, "ListJobsResponse200ItemType0Args"] = UNSET
@@ -127,6 +129,10 @@ class ListJobsResponse200ItemType0:
127
129
  tag = self.tag
128
130
  workspace_id = self.workspace_id
129
131
  parent_job = self.parent_job
132
+ completed_at: Union[Unset, str] = UNSET
133
+ if not isinstance(self.completed_at, Unset):
134
+ completed_at = self.completed_at.isoformat()
135
+
130
136
  script_path = self.script_path
131
137
  script_hash = self.script_hash
132
138
  args: Union[Unset, Dict[str, Any]] = UNSET
@@ -194,6 +200,8 @@ class ListJobsResponse200ItemType0:
194
200
  field_dict["workspace_id"] = workspace_id
195
201
  if parent_job is not UNSET:
196
202
  field_dict["parent_job"] = parent_job
203
+ if completed_at is not UNSET:
204
+ field_dict["completed_at"] = completed_at
197
205
  if script_path is not UNSET:
198
206
  field_dict["script_path"] = script_path
199
207
  if script_hash is not UNSET:
@@ -283,6 +291,13 @@ class ListJobsResponse200ItemType0:
283
291
 
284
292
  parent_job = d.pop("parent_job", UNSET)
285
293
 
294
+ _completed_at = d.pop("completed_at", UNSET)
295
+ completed_at: Union[Unset, datetime.datetime]
296
+ if isinstance(_completed_at, Unset):
297
+ completed_at = UNSET
298
+ else:
299
+ completed_at = isoparse(_completed_at)
300
+
286
301
  script_path = d.pop("script_path", UNSET)
287
302
 
288
303
  script_hash = d.pop("script_hash", UNSET)
@@ -376,6 +391,7 @@ class ListJobsResponse200ItemType0:
376
391
  tag=tag,
377
392
  workspace_id=workspace_id,
378
393
  parent_job=parent_job,
394
+ completed_at=completed_at,
379
395
  script_path=script_path,
380
396
  script_hash=script_hash,
381
397
  args=args,
@@ -50,6 +50,8 @@ class ListScriptsResponse200Item:
50
50
  concurrent_limit (Union[Unset, int]):
51
51
  concurrency_time_window_s (Union[Unset, int]):
52
52
  concurrency_key (Union[Unset, str]):
53
+ debounce_key (Union[Unset, str]):
54
+ debounce_delay_s (Union[Unset, int]):
53
55
  cache_ttl (Union[Unset, float]):
54
56
  dedicated_worker (Union[Unset, bool]):
55
57
  ws_error_handler_muted (Union[Unset, bool]):
@@ -90,6 +92,8 @@ class ListScriptsResponse200Item:
90
92
  concurrent_limit: Union[Unset, int] = UNSET
91
93
  concurrency_time_window_s: Union[Unset, int] = UNSET
92
94
  concurrency_key: Union[Unset, str] = UNSET
95
+ debounce_key: Union[Unset, str] = UNSET
96
+ debounce_delay_s: Union[Unset, int] = UNSET
93
97
  cache_ttl: Union[Unset, float] = UNSET
94
98
  dedicated_worker: Union[Unset, bool] = UNSET
95
99
  ws_error_handler_muted: Union[Unset, bool] = UNSET
@@ -144,6 +148,8 @@ class ListScriptsResponse200Item:
144
148
  concurrent_limit = self.concurrent_limit
145
149
  concurrency_time_window_s = self.concurrency_time_window_s
146
150
  concurrency_key = self.concurrency_key
151
+ debounce_key = self.debounce_key
152
+ debounce_delay_s = self.debounce_delay_s
147
153
  cache_ttl = self.cache_ttl
148
154
  dedicated_worker = self.dedicated_worker
149
155
  ws_error_handler_muted = self.ws_error_handler_muted
@@ -201,6 +207,10 @@ class ListScriptsResponse200Item:
201
207
  field_dict["concurrency_time_window_s"] = concurrency_time_window_s
202
208
  if concurrency_key is not UNSET:
203
209
  field_dict["concurrency_key"] = concurrency_key
210
+ if debounce_key is not UNSET:
211
+ field_dict["debounce_key"] = debounce_key
212
+ if debounce_delay_s is not UNSET:
213
+ field_dict["debounce_delay_s"] = debounce_delay_s
204
214
  if cache_ttl is not UNSET:
205
215
  field_dict["cache_ttl"] = cache_ttl
206
216
  if dedicated_worker is not UNSET:
@@ -291,6 +301,10 @@ class ListScriptsResponse200Item:
291
301
 
292
302
  concurrency_key = d.pop("concurrency_key", UNSET)
293
303
 
304
+ debounce_key = d.pop("debounce_key", UNSET)
305
+
306
+ debounce_delay_s = d.pop("debounce_delay_s", UNSET)
307
+
294
308
  cache_ttl = d.pop("cache_ttl", UNSET)
295
309
 
296
310
  dedicated_worker = d.pop("dedicated_worker", UNSET)
@@ -340,6 +354,8 @@ class ListScriptsResponse200Item:
340
354
  concurrent_limit=concurrent_limit,
341
355
  concurrency_time_window_s=concurrency_time_window_s,
342
356
  concurrency_key=concurrency_key,
357
+ debounce_key=debounce_key,
358
+ debounce_delay_s=debounce_delay_s,
343
359
  cache_ttl=cache_ttl,
344
360
  dedicated_worker=dedicated_worker,
345
361
  ws_error_handler_muted=ws_error_handler_muted,