windmill-api 1.477.0__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.
- windmill_api/api/capture/move_captures_and_configs.py +122 -0
- windmill_api/api/flow/delete_flow_by_path.py +15 -1
- windmill_api/api/job/list_completed_jobs.py +15 -0
- windmill_api/api/job/list_jobs.py +15 -0
- windmill_api/api/job/list_queue.py +15 -0
- windmill_api/api/script/delete_script_by_path.py +21 -1
- windmill_api/models/completed_job.py +8 -0
- windmill_api/models/create_http_trigger_json_body.py +17 -0
- windmill_api/models/delete_completed_job_response_200.py +8 -0
- windmill_api/models/edit_http_trigger.py +17 -0
- windmill_api/models/extended_jobs_jobs_item_type_0.py +8 -0
- windmill_api/models/extended_jobs_jobs_item_type_1.py +8 -0
- windmill_api/models/get_completed_job_response_200.py +8 -0
- windmill_api/models/get_http_trigger_response_200.py +21 -9
- windmill_api/models/get_job_response_200_type_0.py +8 -0
- windmill_api/models/get_job_response_200_type_1.py +8 -0
- windmill_api/models/get_suspended_job_flow_response_200_job_type_0.py +8 -0
- windmill_api/models/get_suspended_job_flow_response_200_job_type_1.py +8 -0
- windmill_api/models/http_trigger.py +21 -9
- windmill_api/models/list_completed_jobs_response_200_item.py +8 -0
- windmill_api/models/list_extended_jobs_response_200_jobs_item_type_0.py +8 -0
- windmill_api/models/list_extended_jobs_response_200_jobs_item_type_1.py +8 -0
- windmill_api/models/list_http_triggers_response_200_item.py +21 -9
- windmill_api/models/list_jobs_response_200_item_type_0.py +8 -0
- windmill_api/models/list_jobs_response_200_item_type_1.py +8 -0
- windmill_api/models/list_queue_response_200_item.py +8 -0
- windmill_api/models/move_captures_and_configs_json_body.py +58 -0
- windmill_api/models/move_captures_and_configs_runnable_kind.py +9 -0
- windmill_api/models/new_http_trigger.py +17 -0
- windmill_api/models/queued_job.py +8 -0
- windmill_api/models/update_http_trigger_json_body.py +17 -0
- {windmill_api-1.477.0.dist-info → windmill_api-1.478.0.dist-info}/METADATA +1 -1
- {windmill_api-1.477.0.dist-info → windmill_api-1.478.0.dist-info}/RECORD +35 -32
- {windmill_api-1.477.0.dist-info → windmill_api-1.478.0.dist-info}/LICENSE +0 -0
- {windmill_api-1.477.0.dist-info → windmill_api-1.478.0.dist-info}/WHEEL +0 -0
|
@@ -25,6 +25,9 @@ class HttpTrigger:
|
|
|
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 HttpTrigger:
|
|
|
34
37
|
edited_at (datetime.datetime):
|
|
35
38
|
is_flow (bool):
|
|
36
39
|
static_asset_config (Union[Unset, HttpTriggerStaticAssetConfig]):
|
|
37
|
-
workspaced_route (Union[Unset, bool]):
|
|
38
40
|
"""
|
|
39
41
|
|
|
40
42
|
route_path: str
|
|
@@ -42,6 +44,9 @@ class HttpTrigger:
|
|
|
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 HttpTrigger:
|
|
|
51
56
|
edited_at: datetime.datetime
|
|
52
57
|
is_flow: bool
|
|
53
58
|
static_asset_config: Union[Unset, "HttpTriggerStaticAssetConfig"] = 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 HttpTrigger:
|
|
|
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 HttpTrigger:
|
|
|
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 HttpTrigger:
|
|
|
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 HttpTrigger:
|
|
|
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
|
|
|
@@ -119,6 +125,12 @@ class HttpTrigger:
|
|
|
119
125
|
|
|
120
126
|
is_static_website = d.pop("is_static_website")
|
|
121
127
|
|
|
128
|
+
workspaced_route = d.pop("workspaced_route")
|
|
129
|
+
|
|
130
|
+
wrap_body = d.pop("wrap_body")
|
|
131
|
+
|
|
132
|
+
raw_string = d.pop("raw_string")
|
|
133
|
+
|
|
122
134
|
path = d.pop("path")
|
|
123
135
|
|
|
124
136
|
script_path = d.pop("script_path")
|
|
@@ -142,14 +154,15 @@ class HttpTrigger:
|
|
|
142
154
|
else:
|
|
143
155
|
static_asset_config = HttpTriggerStaticAssetConfig.from_dict(_static_asset_config)
|
|
144
156
|
|
|
145
|
-
workspaced_route = d.pop("workspaced_route", UNSET)
|
|
146
|
-
|
|
147
157
|
http_trigger = cls(
|
|
148
158
|
route_path=route_path,
|
|
149
159
|
http_method=http_method,
|
|
150
160
|
is_async=is_async,
|
|
151
161
|
requires_auth=requires_auth,
|
|
152
162
|
is_static_website=is_static_website,
|
|
163
|
+
workspaced_route=workspaced_route,
|
|
164
|
+
wrap_body=wrap_body,
|
|
165
|
+
raw_string=raw_string,
|
|
153
166
|
path=path,
|
|
154
167
|
script_path=script_path,
|
|
155
168
|
email=email,
|
|
@@ -159,7 +172,6 @@ class HttpTrigger:
|
|
|
159
172
|
edited_at=edited_at,
|
|
160
173
|
is_flow=is_flow,
|
|
161
174
|
static_asset_config=static_asset_config,
|
|
162
|
-
workspaced_route=workspaced_route,
|
|
163
175
|
)
|
|
164
176
|
|
|
165
177
|
http_trigger.additional_properties = d
|
|
@@ -58,6 +58,7 @@ class ListCompletedJobsResponse200Item:
|
|
|
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 ListCompletedJobsResponse200Item:
|
|
|
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 ListCompletedJobsResponse200Item:
|
|
|
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 ListCompletedJobsResponse200Item:
|
|
|
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
|
|
|
@@ -316,6 +321,8 @@ class ListCompletedJobsResponse200Item:
|
|
|
316
321
|
|
|
317
322
|
preprocessed = d.pop("preprocessed", UNSET)
|
|
318
323
|
|
|
324
|
+
worker = d.pop("worker", UNSET)
|
|
325
|
+
|
|
319
326
|
list_completed_jobs_response_200_item = cls(
|
|
320
327
|
id=id,
|
|
321
328
|
created_by=created_by,
|
|
@@ -352,6 +359,7 @@ class ListCompletedJobsResponse200Item:
|
|
|
352
359
|
self_wait_time_ms=self_wait_time_ms,
|
|
353
360
|
aggregate_wait_time_ms=aggregate_wait_time_ms,
|
|
354
361
|
preprocessed=preprocessed,
|
|
362
|
+
worker=worker,
|
|
355
363
|
)
|
|
356
364
|
|
|
357
365
|
list_completed_jobs_response_200_item.additional_properties = d
|
|
@@ -69,6 +69,7 @@ class ListExtendedJobsResponse200JobsItemType0:
|
|
|
69
69
|
self_wait_time_ms (Union[Unset, float]):
|
|
70
70
|
aggregate_wait_time_ms (Union[Unset, float]):
|
|
71
71
|
preprocessed (Union[Unset, bool]):
|
|
72
|
+
worker (Union[Unset, str]):
|
|
72
73
|
type (Union[Unset, ListExtendedJobsResponse200JobsItemType0Type]):
|
|
73
74
|
"""
|
|
74
75
|
|
|
@@ -107,6 +108,7 @@ class ListExtendedJobsResponse200JobsItemType0:
|
|
|
107
108
|
self_wait_time_ms: Union[Unset, float] = UNSET
|
|
108
109
|
aggregate_wait_time_ms: Union[Unset, float] = UNSET
|
|
109
110
|
preprocessed: Union[Unset, bool] = UNSET
|
|
111
|
+
worker: Union[Unset, str] = UNSET
|
|
110
112
|
type: Union[Unset, ListExtendedJobsResponse200JobsItemType0Type] = UNSET
|
|
111
113
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
112
114
|
|
|
@@ -164,6 +166,7 @@ class ListExtendedJobsResponse200JobsItemType0:
|
|
|
164
166
|
self_wait_time_ms = self.self_wait_time_ms
|
|
165
167
|
aggregate_wait_time_ms = self.aggregate_wait_time_ms
|
|
166
168
|
preprocessed = self.preprocessed
|
|
169
|
+
worker = self.worker
|
|
167
170
|
type: Union[Unset, str] = UNSET
|
|
168
171
|
if not isinstance(self.type, Unset):
|
|
169
172
|
type = self.type.value
|
|
@@ -230,6 +233,8 @@ class ListExtendedJobsResponse200JobsItemType0:
|
|
|
230
233
|
field_dict["aggregate_wait_time_ms"] = aggregate_wait_time_ms
|
|
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
|
|
|
@@ -338,6 +343,8 @@ class ListExtendedJobsResponse200JobsItemType0:
|
|
|
338
343
|
|
|
339
344
|
preprocessed = d.pop("preprocessed", UNSET)
|
|
340
345
|
|
|
346
|
+
worker = d.pop("worker", UNSET)
|
|
347
|
+
|
|
341
348
|
_type = d.pop("type", UNSET)
|
|
342
349
|
type: Union[Unset, ListExtendedJobsResponse200JobsItemType0Type]
|
|
343
350
|
if isinstance(_type, Unset):
|
|
@@ -381,6 +388,7 @@ class ListExtendedJobsResponse200JobsItemType0:
|
|
|
381
388
|
self_wait_time_ms=self_wait_time_ms,
|
|
382
389
|
aggregate_wait_time_ms=aggregate_wait_time_ms,
|
|
383
390
|
preprocessed=preprocessed,
|
|
391
|
+
worker=worker,
|
|
384
392
|
type=type,
|
|
385
393
|
)
|
|
386
394
|
|
|
@@ -67,6 +67,7 @@ class ListExtendedJobsResponse200JobsItemType1:
|
|
|
67
67
|
aggregate_wait_time_ms (Union[Unset, float]):
|
|
68
68
|
suspend (Union[Unset, float]):
|
|
69
69
|
preprocessed (Union[Unset, bool]):
|
|
70
|
+
worker (Union[Unset, str]):
|
|
70
71
|
type (Union[Unset, ListExtendedJobsResponse200JobsItemType1Type]):
|
|
71
72
|
"""
|
|
72
73
|
|
|
@@ -103,6 +104,7 @@ class ListExtendedJobsResponse200JobsItemType1:
|
|
|
103
104
|
aggregate_wait_time_ms: Union[Unset, float] = UNSET
|
|
104
105
|
suspend: Union[Unset, float] = UNSET
|
|
105
106
|
preprocessed: Union[Unset, bool] = UNSET
|
|
107
|
+
worker: Union[Unset, str] = UNSET
|
|
106
108
|
type: Union[Unset, ListExtendedJobsResponse200JobsItemType1Type] = UNSET
|
|
107
109
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
108
110
|
|
|
@@ -165,6 +167,7 @@ class ListExtendedJobsResponse200JobsItemType1:
|
|
|
165
167
|
aggregate_wait_time_ms = self.aggregate_wait_time_ms
|
|
166
168
|
suspend = self.suspend
|
|
167
169
|
preprocessed = self.preprocessed
|
|
170
|
+
worker = self.worker
|
|
168
171
|
type: Union[Unset, str] = UNSET
|
|
169
172
|
if not isinstance(self.type, Unset):
|
|
170
173
|
type = self.type.value
|
|
@@ -232,6 +235,8 @@ class ListExtendedJobsResponse200JobsItemType1:
|
|
|
232
235
|
field_dict["suspend"] = suspend
|
|
233
236
|
if preprocessed is not UNSET:
|
|
234
237
|
field_dict["preprocessed"] = preprocessed
|
|
238
|
+
if worker is not UNSET:
|
|
239
|
+
field_dict["worker"] = worker
|
|
235
240
|
if type is not UNSET:
|
|
236
241
|
field_dict["type"] = type
|
|
237
242
|
|
|
@@ -356,6 +361,8 @@ class ListExtendedJobsResponse200JobsItemType1:
|
|
|
356
361
|
|
|
357
362
|
preprocessed = d.pop("preprocessed", UNSET)
|
|
358
363
|
|
|
364
|
+
worker = d.pop("worker", UNSET)
|
|
365
|
+
|
|
359
366
|
_type = d.pop("type", UNSET)
|
|
360
367
|
type: Union[Unset, ListExtendedJobsResponse200JobsItemType1Type]
|
|
361
368
|
if isinstance(_type, Unset):
|
|
@@ -397,6 +404,7 @@ class ListExtendedJobsResponse200JobsItemType1:
|
|
|
397
404
|
aggregate_wait_time_ms=aggregate_wait_time_ms,
|
|
398
405
|
suspend=suspend,
|
|
399
406
|
preprocessed=preprocessed,
|
|
407
|
+
worker=worker,
|
|
400
408
|
type=type,
|
|
401
409
|
)
|
|
402
410
|
|
|
@@ -27,6 +27,9 @@ class ListHttpTriggersResponse200Item:
|
|
|
27
27
|
is_async (bool):
|
|
28
28
|
requires_auth (bool):
|
|
29
29
|
is_static_website (bool):
|
|
30
|
+
workspaced_route (bool):
|
|
31
|
+
wrap_body (bool):
|
|
32
|
+
raw_string (bool):
|
|
30
33
|
path (str):
|
|
31
34
|
script_path (str):
|
|
32
35
|
email (str):
|
|
@@ -36,7 +39,6 @@ class ListHttpTriggersResponse200Item:
|
|
|
36
39
|
edited_at (datetime.datetime):
|
|
37
40
|
is_flow (bool):
|
|
38
41
|
static_asset_config (Union[Unset, ListHttpTriggersResponse200ItemStaticAssetConfig]):
|
|
39
|
-
workspaced_route (Union[Unset, bool]):
|
|
40
42
|
"""
|
|
41
43
|
|
|
42
44
|
route_path: str
|
|
@@ -44,6 +46,9 @@ class ListHttpTriggersResponse200Item:
|
|
|
44
46
|
is_async: bool
|
|
45
47
|
requires_auth: bool
|
|
46
48
|
is_static_website: bool
|
|
49
|
+
workspaced_route: bool
|
|
50
|
+
wrap_body: bool
|
|
51
|
+
raw_string: bool
|
|
47
52
|
path: str
|
|
48
53
|
script_path: str
|
|
49
54
|
email: str
|
|
@@ -53,7 +58,6 @@ class ListHttpTriggersResponse200Item:
|
|
|
53
58
|
edited_at: datetime.datetime
|
|
54
59
|
is_flow: bool
|
|
55
60
|
static_asset_config: Union[Unset, "ListHttpTriggersResponse200ItemStaticAssetConfig"] = UNSET
|
|
56
|
-
workspaced_route: Union[Unset, bool] = UNSET
|
|
57
61
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
58
62
|
|
|
59
63
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -63,6 +67,9 @@ class ListHttpTriggersResponse200Item:
|
|
|
63
67
|
is_async = self.is_async
|
|
64
68
|
requires_auth = self.requires_auth
|
|
65
69
|
is_static_website = self.is_static_website
|
|
70
|
+
workspaced_route = self.workspaced_route
|
|
71
|
+
wrap_body = self.wrap_body
|
|
72
|
+
raw_string = self.raw_string
|
|
66
73
|
path = self.path
|
|
67
74
|
script_path = self.script_path
|
|
68
75
|
email = self.email
|
|
@@ -77,8 +84,6 @@ class ListHttpTriggersResponse200Item:
|
|
|
77
84
|
if not isinstance(self.static_asset_config, Unset):
|
|
78
85
|
static_asset_config = self.static_asset_config.to_dict()
|
|
79
86
|
|
|
80
|
-
workspaced_route = self.workspaced_route
|
|
81
|
-
|
|
82
87
|
field_dict: Dict[str, Any] = {}
|
|
83
88
|
field_dict.update(self.additional_properties)
|
|
84
89
|
field_dict.update(
|
|
@@ -88,6 +93,9 @@ class ListHttpTriggersResponse200Item:
|
|
|
88
93
|
"is_async": is_async,
|
|
89
94
|
"requires_auth": requires_auth,
|
|
90
95
|
"is_static_website": is_static_website,
|
|
96
|
+
"workspaced_route": workspaced_route,
|
|
97
|
+
"wrap_body": wrap_body,
|
|
98
|
+
"raw_string": raw_string,
|
|
91
99
|
"path": path,
|
|
92
100
|
"script_path": script_path,
|
|
93
101
|
"email": email,
|
|
@@ -100,8 +108,6 @@ class ListHttpTriggersResponse200Item:
|
|
|
100
108
|
)
|
|
101
109
|
if static_asset_config is not UNSET:
|
|
102
110
|
field_dict["static_asset_config"] = static_asset_config
|
|
103
|
-
if workspaced_route is not UNSET:
|
|
104
|
-
field_dict["workspaced_route"] = workspaced_route
|
|
105
111
|
|
|
106
112
|
return field_dict
|
|
107
113
|
|
|
@@ -123,6 +129,12 @@ class ListHttpTriggersResponse200Item:
|
|
|
123
129
|
|
|
124
130
|
is_static_website = d.pop("is_static_website")
|
|
125
131
|
|
|
132
|
+
workspaced_route = d.pop("workspaced_route")
|
|
133
|
+
|
|
134
|
+
wrap_body = d.pop("wrap_body")
|
|
135
|
+
|
|
136
|
+
raw_string = d.pop("raw_string")
|
|
137
|
+
|
|
126
138
|
path = d.pop("path")
|
|
127
139
|
|
|
128
140
|
script_path = d.pop("script_path")
|
|
@@ -146,14 +158,15 @@ class ListHttpTriggersResponse200Item:
|
|
|
146
158
|
else:
|
|
147
159
|
static_asset_config = ListHttpTriggersResponse200ItemStaticAssetConfig.from_dict(_static_asset_config)
|
|
148
160
|
|
|
149
|
-
workspaced_route = d.pop("workspaced_route", UNSET)
|
|
150
|
-
|
|
151
161
|
list_http_triggers_response_200_item = cls(
|
|
152
162
|
route_path=route_path,
|
|
153
163
|
http_method=http_method,
|
|
154
164
|
is_async=is_async,
|
|
155
165
|
requires_auth=requires_auth,
|
|
156
166
|
is_static_website=is_static_website,
|
|
167
|
+
workspaced_route=workspaced_route,
|
|
168
|
+
wrap_body=wrap_body,
|
|
169
|
+
raw_string=raw_string,
|
|
157
170
|
path=path,
|
|
158
171
|
script_path=script_path,
|
|
159
172
|
email=email,
|
|
@@ -163,7 +176,6 @@ class ListHttpTriggersResponse200Item:
|
|
|
163
176
|
edited_at=edited_at,
|
|
164
177
|
is_flow=is_flow,
|
|
165
178
|
static_asset_config=static_asset_config,
|
|
166
|
-
workspaced_route=workspaced_route,
|
|
167
179
|
)
|
|
168
180
|
|
|
169
181
|
list_http_triggers_response_200_item.additional_properties = d
|
|
@@ -59,6 +59,7 @@ class ListJobsResponse200ItemType0:
|
|
|
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, ListJobsResponse200ItemType0Type]):
|
|
63
64
|
"""
|
|
64
65
|
|
|
@@ -97,6 +98,7 @@ class ListJobsResponse200ItemType0:
|
|
|
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, ListJobsResponse200ItemType0Type] = UNSET
|
|
101
103
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
102
104
|
|
|
@@ -154,6 +156,7 @@ class ListJobsResponse200ItemType0:
|
|
|
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 ListJobsResponse200ItemType0:
|
|
|
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 ListJobsResponse200ItemType0:
|
|
|
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, ListJobsResponse200ItemType0Type]
|
|
327
334
|
if isinstance(_type, Unset):
|
|
@@ -365,6 +372,7 @@ class ListJobsResponse200ItemType0:
|
|
|
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 ListJobsResponse200ItemType1:
|
|
|
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, ListJobsResponse200ItemType1Type]):
|
|
61
62
|
"""
|
|
62
63
|
|
|
@@ -93,6 +94,7 @@ class ListJobsResponse200ItemType1:
|
|
|
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, ListJobsResponse200ItemType1Type] = UNSET
|
|
97
99
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
98
100
|
|
|
@@ -155,6 +157,7 @@ class ListJobsResponse200ItemType1:
|
|
|
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 ListJobsResponse200ItemType1:
|
|
|
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 ListJobsResponse200ItemType1:
|
|
|
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, ListJobsResponse200ItemType1Type]
|
|
345
352
|
if isinstance(_type, Unset):
|
|
@@ -381,6 +388,7 @@ class ListJobsResponse200ItemType1:
|
|
|
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
|
|
|
@@ -56,6 +56,7 @@ class ListQueueResponse200Item:
|
|
|
56
56
|
aggregate_wait_time_ms (Union[Unset, float]):
|
|
57
57
|
suspend (Union[Unset, float]):
|
|
58
58
|
preprocessed (Union[Unset, bool]):
|
|
59
|
+
worker (Union[Unset, str]):
|
|
59
60
|
"""
|
|
60
61
|
|
|
61
62
|
id: str
|
|
@@ -91,6 +92,7 @@ class ListQueueResponse200Item:
|
|
|
91
92
|
aggregate_wait_time_ms: Union[Unset, float] = UNSET
|
|
92
93
|
suspend: Union[Unset, float] = UNSET
|
|
93
94
|
preprocessed: Union[Unset, bool] = UNSET
|
|
95
|
+
worker: Union[Unset, str] = UNSET
|
|
94
96
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
95
97
|
|
|
96
98
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -152,6 +154,7 @@ class ListQueueResponse200Item:
|
|
|
152
154
|
aggregate_wait_time_ms = self.aggregate_wait_time_ms
|
|
153
155
|
suspend = self.suspend
|
|
154
156
|
preprocessed = self.preprocessed
|
|
157
|
+
worker = self.worker
|
|
155
158
|
|
|
156
159
|
field_dict: Dict[str, Any] = {}
|
|
157
160
|
field_dict.update(self.additional_properties)
|
|
@@ -216,6 +219,8 @@ class ListQueueResponse200Item:
|
|
|
216
219
|
field_dict["suspend"] = suspend
|
|
217
220
|
if preprocessed is not UNSET:
|
|
218
221
|
field_dict["preprocessed"] = preprocessed
|
|
222
|
+
if worker is not UNSET:
|
|
223
|
+
field_dict["worker"] = worker
|
|
219
224
|
|
|
220
225
|
return field_dict
|
|
221
226
|
|
|
@@ -332,6 +337,8 @@ class ListQueueResponse200Item:
|
|
|
332
337
|
|
|
333
338
|
preprocessed = d.pop("preprocessed", UNSET)
|
|
334
339
|
|
|
340
|
+
worker = d.pop("worker", UNSET)
|
|
341
|
+
|
|
335
342
|
list_queue_response_200_item = cls(
|
|
336
343
|
id=id,
|
|
337
344
|
running=running,
|
|
@@ -366,6 +373,7 @@ class ListQueueResponse200Item:
|
|
|
366
373
|
aggregate_wait_time_ms=aggregate_wait_time_ms,
|
|
367
374
|
suspend=suspend,
|
|
368
375
|
preprocessed=preprocessed,
|
|
376
|
+
worker=worker,
|
|
369
377
|
)
|
|
370
378
|
|
|
371
379
|
list_queue_response_200_item.additional_properties = d
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Type, TypeVar, Union
|
|
2
|
+
|
|
3
|
+
from attrs import define as _attrs_define
|
|
4
|
+
from attrs import field as _attrs_field
|
|
5
|
+
|
|
6
|
+
from ..types import UNSET, Unset
|
|
7
|
+
|
|
8
|
+
T = TypeVar("T", bound="MoveCapturesAndConfigsJsonBody")
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
@_attrs_define
|
|
12
|
+
class MoveCapturesAndConfigsJsonBody:
|
|
13
|
+
"""
|
|
14
|
+
Attributes:
|
|
15
|
+
new_path (Union[Unset, str]):
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
new_path: Union[Unset, str] = UNSET
|
|
19
|
+
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
20
|
+
|
|
21
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
22
|
+
new_path = self.new_path
|
|
23
|
+
|
|
24
|
+
field_dict: Dict[str, Any] = {}
|
|
25
|
+
field_dict.update(self.additional_properties)
|
|
26
|
+
field_dict.update({})
|
|
27
|
+
if new_path is not UNSET:
|
|
28
|
+
field_dict["new_path"] = new_path
|
|
29
|
+
|
|
30
|
+
return field_dict
|
|
31
|
+
|
|
32
|
+
@classmethod
|
|
33
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
34
|
+
d = src_dict.copy()
|
|
35
|
+
new_path = d.pop("new_path", UNSET)
|
|
36
|
+
|
|
37
|
+
move_captures_and_configs_json_body = cls(
|
|
38
|
+
new_path=new_path,
|
|
39
|
+
)
|
|
40
|
+
|
|
41
|
+
move_captures_and_configs_json_body.additional_properties = d
|
|
42
|
+
return move_captures_and_configs_json_body
|
|
43
|
+
|
|
44
|
+
@property
|
|
45
|
+
def additional_keys(self) -> List[str]:
|
|
46
|
+
return list(self.additional_properties.keys())
|
|
47
|
+
|
|
48
|
+
def __getitem__(self, key: str) -> Any:
|
|
49
|
+
return self.additional_properties[key]
|
|
50
|
+
|
|
51
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
52
|
+
self.additional_properties[key] = value
|
|
53
|
+
|
|
54
|
+
def __delitem__(self, key: str) -> None:
|
|
55
|
+
del self.additional_properties[key]
|
|
56
|
+
|
|
57
|
+
def __contains__(self, key: str) -> bool:
|
|
58
|
+
return key in self.additional_properties
|
|
@@ -27,6 +27,8 @@ class NewHttpTrigger:
|
|
|
27
27
|
is_static_website (bool):
|
|
28
28
|
workspaced_route (Union[Unset, bool]):
|
|
29
29
|
static_asset_config (Union[Unset, NewHttpTriggerStaticAssetConfig]):
|
|
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 NewHttpTrigger:
|
|
|
39
41
|
is_static_website: bool
|
|
40
42
|
workspaced_route: Union[Unset, bool] = UNSET
|
|
41
43
|
static_asset_config: Union[Unset, "NewHttpTriggerStaticAssetConfig"] = 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 NewHttpTrigger:
|
|
|
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 NewHttpTrigger:
|
|
|
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
|
|
|
@@ -107,6 +118,10 @@ class NewHttpTrigger:
|
|
|
107
118
|
else:
|
|
108
119
|
static_asset_config = NewHttpTriggerStaticAssetConfig.from_dict(_static_asset_config)
|
|
109
120
|
|
|
121
|
+
wrap_body = d.pop("wrap_body", UNSET)
|
|
122
|
+
|
|
123
|
+
raw_string = d.pop("raw_string", UNSET)
|
|
124
|
+
|
|
110
125
|
new_http_trigger = cls(
|
|
111
126
|
path=path,
|
|
112
127
|
script_path=script_path,
|
|
@@ -118,6 +133,8 @@ class NewHttpTrigger:
|
|
|
118
133
|
is_static_website=is_static_website,
|
|
119
134
|
workspaced_route=workspaced_route,
|
|
120
135
|
static_asset_config=static_asset_config,
|
|
136
|
+
wrap_body=wrap_body,
|
|
137
|
+
raw_string=raw_string,
|
|
121
138
|
)
|
|
122
139
|
|
|
123
140
|
new_http_trigger.additional_properties = d
|
|
@@ -56,6 +56,7 @@ class QueuedJob:
|
|
|
56
56
|
aggregate_wait_time_ms (Union[Unset, float]):
|
|
57
57
|
suspend (Union[Unset, float]):
|
|
58
58
|
preprocessed (Union[Unset, bool]):
|
|
59
|
+
worker (Union[Unset, str]):
|
|
59
60
|
"""
|
|
60
61
|
|
|
61
62
|
id: str
|
|
@@ -91,6 +92,7 @@ class QueuedJob:
|
|
|
91
92
|
aggregate_wait_time_ms: Union[Unset, float] = UNSET
|
|
92
93
|
suspend: Union[Unset, float] = UNSET
|
|
93
94
|
preprocessed: Union[Unset, bool] = UNSET
|
|
95
|
+
worker: Union[Unset, str] = UNSET
|
|
94
96
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
95
97
|
|
|
96
98
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -152,6 +154,7 @@ class QueuedJob:
|
|
|
152
154
|
aggregate_wait_time_ms = self.aggregate_wait_time_ms
|
|
153
155
|
suspend = self.suspend
|
|
154
156
|
preprocessed = self.preprocessed
|
|
157
|
+
worker = self.worker
|
|
155
158
|
|
|
156
159
|
field_dict: Dict[str, Any] = {}
|
|
157
160
|
field_dict.update(self.additional_properties)
|
|
@@ -216,6 +219,8 @@ class QueuedJob:
|
|
|
216
219
|
field_dict["suspend"] = suspend
|
|
217
220
|
if preprocessed is not UNSET:
|
|
218
221
|
field_dict["preprocessed"] = preprocessed
|
|
222
|
+
if worker is not UNSET:
|
|
223
|
+
field_dict["worker"] = worker
|
|
219
224
|
|
|
220
225
|
return field_dict
|
|
221
226
|
|
|
@@ -332,6 +337,8 @@ class QueuedJob:
|
|
|
332
337
|
|
|
333
338
|
preprocessed = d.pop("preprocessed", UNSET)
|
|
334
339
|
|
|
340
|
+
worker = d.pop("worker", UNSET)
|
|
341
|
+
|
|
335
342
|
queued_job = cls(
|
|
336
343
|
id=id,
|
|
337
344
|
running=running,
|
|
@@ -366,6 +373,7 @@ class QueuedJob:
|
|
|
366
373
|
aggregate_wait_time_ms=aggregate_wait_time_ms,
|
|
367
374
|
suspend=suspend,
|
|
368
375
|
preprocessed=preprocessed,
|
|
376
|
+
worker=worker,
|
|
369
377
|
)
|
|
370
378
|
|
|
371
379
|
queued_job.additional_properties = d
|