windmill-api 1.446.0__py3-none-any.whl → 1.447.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/models/archive_script_by_hash_response_200.py +8 -0
- windmill_api/models/archive_script_by_hash_response_200_language.py +1 -0
- windmill_api/models/completed_job_language.py +1 -0
- windmill_api/models/create_script_json_body.py +8 -0
- windmill_api/models/create_script_json_body_language.py +1 -0
- windmill_api/models/delete_completed_job_response_200_language.py +1 -0
- windmill_api/models/delete_script_by_hash_response_200.py +8 -0
- windmill_api/models/delete_script_by_hash_response_200_language.py +1 -0
- windmill_api/models/extended_jobs_jobs_item_type_0_language.py +1 -0
- windmill_api/models/extended_jobs_jobs_item_type_1_language.py +1 -0
- windmill_api/models/flow_metadata.py +8 -0
- windmill_api/models/get_completed_job_response_200_language.py +1 -0
- windmill_api/models/get_flow_by_path_response_200.py +8 -0
- windmill_api/models/get_flow_by_path_with_draft_response_200_draft.py +8 -0
- windmill_api/models/get_flow_version_response_200.py +8 -0
- windmill_api/models/get_job_response_200_type_0_language.py +1 -0
- windmill_api/models/get_job_response_200_type_1_language.py +1 -0
- windmill_api/models/get_script_by_hash_response_200.py +8 -0
- windmill_api/models/get_script_by_hash_response_200_language.py +1 -0
- windmill_api/models/get_script_by_path_response_200.py +8 -0
- windmill_api/models/get_script_by_path_response_200_language.py +1 -0
- windmill_api/models/get_script_by_path_with_draft_response_200.py +8 -0
- windmill_api/models/get_script_by_path_with_draft_response_200_draft.py +8 -0
- windmill_api/models/get_script_by_path_with_draft_response_200_draft_language.py +1 -0
- windmill_api/models/get_script_by_path_with_draft_response_200_language.py +1 -0
- windmill_api/models/get_suspended_job_flow_response_200_job_type_0_language.py +1 -0
- windmill_api/models/get_suspended_job_flow_response_200_job_type_1_language.py +1 -0
- windmill_api/models/job_type_0_language.py +1 -0
- windmill_api/models/job_type_1_language.py +1 -0
- windmill_api/models/list_completed_jobs_response_200_item_language.py +1 -0
- windmill_api/models/list_extended_jobs_response_200_jobs_item_type_0_language.py +1 -0
- windmill_api/models/list_extended_jobs_response_200_jobs_item_type_1_language.py +1 -0
- windmill_api/models/list_jobs_response_200_item_type_0_language.py +1 -0
- windmill_api/models/list_jobs_response_200_item_type_1_language.py +1 -0
- windmill_api/models/list_queue_response_200_item_language.py +1 -0
- windmill_api/models/list_scripts_response_200_item.py +8 -0
- windmill_api/models/list_scripts_response_200_item_language.py +1 -0
- windmill_api/models/new_script.py +8 -0
- windmill_api/models/new_script_language.py +1 -0
- windmill_api/models/new_script_with_draft.py +8 -0
- windmill_api/models/new_script_with_draft_draft.py +8 -0
- windmill_api/models/new_script_with_draft_draft_language.py +1 -0
- windmill_api/models/new_script_with_draft_language.py +1 -0
- windmill_api/models/open_flow_w_path.py +8 -0
- windmill_api/models/preview_language.py +1 -0
- windmill_api/models/queued_job_language.py +1 -0
- windmill_api/models/raw_script_for_dependencies_language.py +1 -0
- windmill_api/models/run_raw_script_dependencies_json_body_raw_scripts_item_language.py +1 -0
- windmill_api/models/run_script_preview_json_body_language.py +1 -0
- windmill_api/models/script.py +8 -0
- windmill_api/models/script_language.py +1 -0
- {windmill_api-1.446.0.dist-info → windmill_api-1.447.0.dist-info}/METADATA +1 -1
- {windmill_api-1.446.0.dist-info → windmill_api-1.447.0.dist-info}/RECORD +55 -55
- {windmill_api-1.446.0.dist-info → windmill_api-1.447.0.dist-info}/LICENSE +0 -0
- {windmill_api-1.446.0.dist-info → windmill_api-1.447.0.dist-info}/WHEEL +0 -0
|
@@ -59,6 +59,7 @@ class ListScriptsResponse200Item:
|
|
|
59
59
|
delete_after_use (Union[Unset, bool]):
|
|
60
60
|
visible_to_runner_only (Union[Unset, bool]):
|
|
61
61
|
codebase (Union[Unset, str]):
|
|
62
|
+
on_behalf_of_email (Union[Unset, str]):
|
|
62
63
|
"""
|
|
63
64
|
|
|
64
65
|
hash_: str
|
|
@@ -98,6 +99,7 @@ class ListScriptsResponse200Item:
|
|
|
98
99
|
delete_after_use: Union[Unset, bool] = UNSET
|
|
99
100
|
visible_to_runner_only: Union[Unset, bool] = UNSET
|
|
100
101
|
codebase: Union[Unset, str] = UNSET
|
|
102
|
+
on_behalf_of_email: Union[Unset, str] = UNSET
|
|
101
103
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
102
104
|
|
|
103
105
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -151,6 +153,7 @@ class ListScriptsResponse200Item:
|
|
|
151
153
|
delete_after_use = self.delete_after_use
|
|
152
154
|
visible_to_runner_only = self.visible_to_runner_only
|
|
153
155
|
codebase = self.codebase
|
|
156
|
+
on_behalf_of_email = self.on_behalf_of_email
|
|
154
157
|
|
|
155
158
|
field_dict: Dict[str, Any] = {}
|
|
156
159
|
field_dict.update(self.additional_properties)
|
|
@@ -216,6 +219,8 @@ class ListScriptsResponse200Item:
|
|
|
216
219
|
field_dict["visible_to_runner_only"] = visible_to_runner_only
|
|
217
220
|
if codebase is not UNSET:
|
|
218
221
|
field_dict["codebase"] = codebase
|
|
222
|
+
if on_behalf_of_email is not UNSET:
|
|
223
|
+
field_dict["on_behalf_of_email"] = on_behalf_of_email
|
|
219
224
|
|
|
220
225
|
return field_dict
|
|
221
226
|
|
|
@@ -304,6 +309,8 @@ class ListScriptsResponse200Item:
|
|
|
304
309
|
|
|
305
310
|
codebase = d.pop("codebase", UNSET)
|
|
306
311
|
|
|
312
|
+
on_behalf_of_email = d.pop("on_behalf_of_email", UNSET)
|
|
313
|
+
|
|
307
314
|
list_scripts_response_200_item = cls(
|
|
308
315
|
hash_=hash_,
|
|
309
316
|
path=path,
|
|
@@ -342,6 +349,7 @@ class ListScriptsResponse200Item:
|
|
|
342
349
|
delete_after_use=delete_after_use,
|
|
343
350
|
visible_to_runner_only=visible_to_runner_only,
|
|
344
351
|
codebase=codebase,
|
|
352
|
+
on_behalf_of_email=on_behalf_of_email,
|
|
345
353
|
)
|
|
346
354
|
|
|
347
355
|
list_scripts_response_200_item.additional_properties = d
|
|
@@ -46,6 +46,7 @@ class NewScript:
|
|
|
46
46
|
no_main_func (Union[Unset, bool]):
|
|
47
47
|
codebase (Union[Unset, str]):
|
|
48
48
|
has_preprocessor (Union[Unset, bool]):
|
|
49
|
+
on_behalf_of_email (Union[Unset, str]):
|
|
49
50
|
"""
|
|
50
51
|
|
|
51
52
|
path: str
|
|
@@ -76,6 +77,7 @@ class NewScript:
|
|
|
76
77
|
no_main_func: Union[Unset, bool] = UNSET
|
|
77
78
|
codebase: Union[Unset, str] = UNSET
|
|
78
79
|
has_preprocessor: Union[Unset, bool] = UNSET
|
|
80
|
+
on_behalf_of_email: Union[Unset, str] = UNSET
|
|
79
81
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
80
82
|
|
|
81
83
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -117,6 +119,7 @@ class NewScript:
|
|
|
117
119
|
no_main_func = self.no_main_func
|
|
118
120
|
codebase = self.codebase
|
|
119
121
|
has_preprocessor = self.has_preprocessor
|
|
122
|
+
on_behalf_of_email = self.on_behalf_of_email
|
|
120
123
|
|
|
121
124
|
field_dict: Dict[str, Any] = {}
|
|
122
125
|
field_dict.update(self.additional_properties)
|
|
@@ -175,6 +178,8 @@ class NewScript:
|
|
|
175
178
|
field_dict["codebase"] = codebase
|
|
176
179
|
if has_preprocessor is not UNSET:
|
|
177
180
|
field_dict["has_preprocessor"] = has_preprocessor
|
|
181
|
+
if on_behalf_of_email is not UNSET:
|
|
182
|
+
field_dict["on_behalf_of_email"] = on_behalf_of_email
|
|
178
183
|
|
|
179
184
|
return field_dict
|
|
180
185
|
|
|
@@ -249,6 +254,8 @@ class NewScript:
|
|
|
249
254
|
|
|
250
255
|
has_preprocessor = d.pop("has_preprocessor", UNSET)
|
|
251
256
|
|
|
257
|
+
on_behalf_of_email = d.pop("on_behalf_of_email", UNSET)
|
|
258
|
+
|
|
252
259
|
new_script = cls(
|
|
253
260
|
path=path,
|
|
254
261
|
summary=summary,
|
|
@@ -278,6 +285,7 @@ class NewScript:
|
|
|
278
285
|
no_main_func=no_main_func,
|
|
279
286
|
codebase=codebase,
|
|
280
287
|
has_preprocessor=has_preprocessor,
|
|
288
|
+
on_behalf_of_email=on_behalf_of_email,
|
|
281
289
|
)
|
|
282
290
|
|
|
283
291
|
new_script.additional_properties = d
|
|
@@ -48,6 +48,7 @@ class NewScriptWithDraft:
|
|
|
48
48
|
no_main_func (Union[Unset, bool]):
|
|
49
49
|
codebase (Union[Unset, str]):
|
|
50
50
|
has_preprocessor (Union[Unset, bool]):
|
|
51
|
+
on_behalf_of_email (Union[Unset, str]):
|
|
51
52
|
draft (Union[Unset, NewScriptWithDraftDraft]):
|
|
52
53
|
"""
|
|
53
54
|
|
|
@@ -80,6 +81,7 @@ class NewScriptWithDraft:
|
|
|
80
81
|
no_main_func: Union[Unset, bool] = UNSET
|
|
81
82
|
codebase: Union[Unset, str] = UNSET
|
|
82
83
|
has_preprocessor: Union[Unset, bool] = UNSET
|
|
84
|
+
on_behalf_of_email: Union[Unset, str] = UNSET
|
|
83
85
|
draft: Union[Unset, "NewScriptWithDraftDraft"] = UNSET
|
|
84
86
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
85
87
|
|
|
@@ -123,6 +125,7 @@ class NewScriptWithDraft:
|
|
|
123
125
|
no_main_func = self.no_main_func
|
|
124
126
|
codebase = self.codebase
|
|
125
127
|
has_preprocessor = self.has_preprocessor
|
|
128
|
+
on_behalf_of_email = self.on_behalf_of_email
|
|
126
129
|
draft: Union[Unset, Dict[str, Any]] = UNSET
|
|
127
130
|
if not isinstance(self.draft, Unset):
|
|
128
131
|
draft = self.draft.to_dict()
|
|
@@ -185,6 +188,8 @@ class NewScriptWithDraft:
|
|
|
185
188
|
field_dict["codebase"] = codebase
|
|
186
189
|
if has_preprocessor is not UNSET:
|
|
187
190
|
field_dict["has_preprocessor"] = has_preprocessor
|
|
191
|
+
if on_behalf_of_email is not UNSET:
|
|
192
|
+
field_dict["on_behalf_of_email"] = on_behalf_of_email
|
|
188
193
|
if draft is not UNSET:
|
|
189
194
|
field_dict["draft"] = draft
|
|
190
195
|
|
|
@@ -264,6 +269,8 @@ class NewScriptWithDraft:
|
|
|
264
269
|
|
|
265
270
|
has_preprocessor = d.pop("has_preprocessor", UNSET)
|
|
266
271
|
|
|
272
|
+
on_behalf_of_email = d.pop("on_behalf_of_email", UNSET)
|
|
273
|
+
|
|
267
274
|
_draft = d.pop("draft", UNSET)
|
|
268
275
|
draft: Union[Unset, NewScriptWithDraftDraft]
|
|
269
276
|
if isinstance(_draft, Unset):
|
|
@@ -301,6 +308,7 @@ class NewScriptWithDraft:
|
|
|
301
308
|
no_main_func=no_main_func,
|
|
302
309
|
codebase=codebase,
|
|
303
310
|
has_preprocessor=has_preprocessor,
|
|
311
|
+
on_behalf_of_email=on_behalf_of_email,
|
|
304
312
|
draft=draft,
|
|
305
313
|
)
|
|
306
314
|
|
|
@@ -46,6 +46,7 @@ class NewScriptWithDraftDraft:
|
|
|
46
46
|
no_main_func (Union[Unset, bool]):
|
|
47
47
|
codebase (Union[Unset, str]):
|
|
48
48
|
has_preprocessor (Union[Unset, bool]):
|
|
49
|
+
on_behalf_of_email (Union[Unset, str]):
|
|
49
50
|
"""
|
|
50
51
|
|
|
51
52
|
path: str
|
|
@@ -76,6 +77,7 @@ class NewScriptWithDraftDraft:
|
|
|
76
77
|
no_main_func: Union[Unset, bool] = UNSET
|
|
77
78
|
codebase: Union[Unset, str] = UNSET
|
|
78
79
|
has_preprocessor: Union[Unset, bool] = UNSET
|
|
80
|
+
on_behalf_of_email: Union[Unset, str] = UNSET
|
|
79
81
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
80
82
|
|
|
81
83
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -117,6 +119,7 @@ class NewScriptWithDraftDraft:
|
|
|
117
119
|
no_main_func = self.no_main_func
|
|
118
120
|
codebase = self.codebase
|
|
119
121
|
has_preprocessor = self.has_preprocessor
|
|
122
|
+
on_behalf_of_email = self.on_behalf_of_email
|
|
120
123
|
|
|
121
124
|
field_dict: Dict[str, Any] = {}
|
|
122
125
|
field_dict.update(self.additional_properties)
|
|
@@ -175,6 +178,8 @@ class NewScriptWithDraftDraft:
|
|
|
175
178
|
field_dict["codebase"] = codebase
|
|
176
179
|
if has_preprocessor is not UNSET:
|
|
177
180
|
field_dict["has_preprocessor"] = has_preprocessor
|
|
181
|
+
if on_behalf_of_email is not UNSET:
|
|
182
|
+
field_dict["on_behalf_of_email"] = on_behalf_of_email
|
|
178
183
|
|
|
179
184
|
return field_dict
|
|
180
185
|
|
|
@@ -249,6 +254,8 @@ class NewScriptWithDraftDraft:
|
|
|
249
254
|
|
|
250
255
|
has_preprocessor = d.pop("has_preprocessor", UNSET)
|
|
251
256
|
|
|
257
|
+
on_behalf_of_email = d.pop("on_behalf_of_email", UNSET)
|
|
258
|
+
|
|
252
259
|
new_script_with_draft_draft = cls(
|
|
253
260
|
path=path,
|
|
254
261
|
summary=summary,
|
|
@@ -278,6 +285,7 @@ class NewScriptWithDraftDraft:
|
|
|
278
285
|
no_main_func=no_main_func,
|
|
279
286
|
codebase=codebase,
|
|
280
287
|
has_preprocessor=has_preprocessor,
|
|
288
|
+
on_behalf_of_email=on_behalf_of_email,
|
|
281
289
|
)
|
|
282
290
|
|
|
283
291
|
new_script_with_draft_draft.additional_properties = d
|
|
@@ -28,6 +28,7 @@ class OpenFlowWPath:
|
|
|
28
28
|
dedicated_worker (Union[Unset, bool]):
|
|
29
29
|
timeout (Union[Unset, float]):
|
|
30
30
|
visible_to_runner_only (Union[Unset, bool]):
|
|
31
|
+
on_behalf_of_email (Union[Unset, str]):
|
|
31
32
|
"""
|
|
32
33
|
|
|
33
34
|
summary: str
|
|
@@ -41,6 +42,7 @@ class OpenFlowWPath:
|
|
|
41
42
|
dedicated_worker: Union[Unset, bool] = UNSET
|
|
42
43
|
timeout: Union[Unset, float] = UNSET
|
|
43
44
|
visible_to_runner_only: Union[Unset, bool] = UNSET
|
|
45
|
+
on_behalf_of_email: Union[Unset, str] = UNSET
|
|
44
46
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
45
47
|
|
|
46
48
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -59,6 +61,7 @@ class OpenFlowWPath:
|
|
|
59
61
|
dedicated_worker = self.dedicated_worker
|
|
60
62
|
timeout = self.timeout
|
|
61
63
|
visible_to_runner_only = self.visible_to_runner_only
|
|
64
|
+
on_behalf_of_email = self.on_behalf_of_email
|
|
62
65
|
|
|
63
66
|
field_dict: Dict[str, Any] = {}
|
|
64
67
|
field_dict.update(self.additional_properties)
|
|
@@ -85,6 +88,8 @@ class OpenFlowWPath:
|
|
|
85
88
|
field_dict["timeout"] = timeout
|
|
86
89
|
if visible_to_runner_only is not UNSET:
|
|
87
90
|
field_dict["visible_to_runner_only"] = visible_to_runner_only
|
|
91
|
+
if on_behalf_of_email is not UNSET:
|
|
92
|
+
field_dict["on_behalf_of_email"] = on_behalf_of_email
|
|
88
93
|
|
|
89
94
|
return field_dict
|
|
90
95
|
|
|
@@ -121,6 +126,8 @@ class OpenFlowWPath:
|
|
|
121
126
|
|
|
122
127
|
visible_to_runner_only = d.pop("visible_to_runner_only", UNSET)
|
|
123
128
|
|
|
129
|
+
on_behalf_of_email = d.pop("on_behalf_of_email", UNSET)
|
|
130
|
+
|
|
124
131
|
open_flow_w_path = cls(
|
|
125
132
|
summary=summary,
|
|
126
133
|
value=value,
|
|
@@ -133,6 +140,7 @@ class OpenFlowWPath:
|
|
|
133
140
|
dedicated_worker=dedicated_worker,
|
|
134
141
|
timeout=timeout,
|
|
135
142
|
visible_to_runner_only=visible_to_runner_only,
|
|
143
|
+
on_behalf_of_email=on_behalf_of_email,
|
|
136
144
|
)
|
|
137
145
|
|
|
138
146
|
open_flow_w_path.additional_properties = d
|
windmill_api/models/script.py
CHANGED
|
@@ -59,6 +59,7 @@ class Script:
|
|
|
59
59
|
delete_after_use (Union[Unset, bool]):
|
|
60
60
|
visible_to_runner_only (Union[Unset, bool]):
|
|
61
61
|
codebase (Union[Unset, str]):
|
|
62
|
+
on_behalf_of_email (Union[Unset, str]):
|
|
62
63
|
"""
|
|
63
64
|
|
|
64
65
|
hash_: str
|
|
@@ -98,6 +99,7 @@ class Script:
|
|
|
98
99
|
delete_after_use: Union[Unset, bool] = UNSET
|
|
99
100
|
visible_to_runner_only: Union[Unset, bool] = UNSET
|
|
100
101
|
codebase: Union[Unset, str] = UNSET
|
|
102
|
+
on_behalf_of_email: Union[Unset, str] = UNSET
|
|
101
103
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
102
104
|
|
|
103
105
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -151,6 +153,7 @@ class Script:
|
|
|
151
153
|
delete_after_use = self.delete_after_use
|
|
152
154
|
visible_to_runner_only = self.visible_to_runner_only
|
|
153
155
|
codebase = self.codebase
|
|
156
|
+
on_behalf_of_email = self.on_behalf_of_email
|
|
154
157
|
|
|
155
158
|
field_dict: Dict[str, Any] = {}
|
|
156
159
|
field_dict.update(self.additional_properties)
|
|
@@ -216,6 +219,8 @@ class Script:
|
|
|
216
219
|
field_dict["visible_to_runner_only"] = visible_to_runner_only
|
|
217
220
|
if codebase is not UNSET:
|
|
218
221
|
field_dict["codebase"] = codebase
|
|
222
|
+
if on_behalf_of_email is not UNSET:
|
|
223
|
+
field_dict["on_behalf_of_email"] = on_behalf_of_email
|
|
219
224
|
|
|
220
225
|
return field_dict
|
|
221
226
|
|
|
@@ -304,6 +309,8 @@ class Script:
|
|
|
304
309
|
|
|
305
310
|
codebase = d.pop("codebase", UNSET)
|
|
306
311
|
|
|
312
|
+
on_behalf_of_email = d.pop("on_behalf_of_email", UNSET)
|
|
313
|
+
|
|
307
314
|
script = cls(
|
|
308
315
|
hash_=hash_,
|
|
309
316
|
path=path,
|
|
@@ -342,6 +349,7 @@ class Script:
|
|
|
342
349
|
delete_after_use=delete_after_use,
|
|
343
350
|
visible_to_runner_only=visible_to_runner_only,
|
|
344
351
|
codebase=codebase,
|
|
352
|
+
on_behalf_of_email=on_behalf_of_email,
|
|
345
353
|
)
|
|
346
354
|
|
|
347
355
|
script.additional_properties = d
|