windmill-api 1.529.0__py3-none-any.whl → 1.530.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/job/run_flow_preview_and_wait_result.py +107 -0
- windmill_api/api/job/run_script_preview_and_wait_result.py +107 -0
- windmill_api/models/preview.py +3 -3
- windmill_api/models/run_flow_preview_and_wait_result_json_body.py +114 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_args.py +44 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_restarted_from.py +74 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value.py +190 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_failure_module.py +334 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_failure_module_mock.py +66 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_failure_module_retry.py +97 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_failure_module_retry_constant.py +66 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_failure_module_retry_exponential.py +82 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_failure_module_skip_if.py +58 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_failure_module_sleep_type_0.py +69 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_failure_module_sleep_type_0_type.py +8 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_failure_module_sleep_type_1.py +69 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_failure_module_sleep_type_1_type.py +8 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_failure_module_stop_after_all_iters_if.py +78 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_failure_module_stop_after_if.py +76 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_failure_module_suspend.py +215 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_failure_module_suspend_resume_form.py +75 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_failure_module_suspend_resume_form_schema.py +46 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_failure_module_suspend_user_groups_required_type_0.py +71 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_failure_module_suspend_user_groups_required_type_0_type.py +8 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_failure_module_suspend_user_groups_required_type_1.py +71 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_failure_module_suspend_user_groups_required_type_1_type.py +8 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_modules_item.py +331 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_modules_item_mock.py +66 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_modules_item_retry.py +97 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_modules_item_retry_constant.py +66 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_modules_item_retry_exponential.py +82 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_modules_item_skip_if.py +58 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_modules_item_sleep_type_0.py +69 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_modules_item_sleep_type_0_type.py +8 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_modules_item_sleep_type_1.py +69 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_modules_item_sleep_type_1_type.py +8 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_modules_item_stop_after_all_iters_if.py +76 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_modules_item_stop_after_if.py +76 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_modules_item_suspend.py +213 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_modules_item_suspend_resume_form.py +75 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_modules_item_suspend_resume_form_schema.py +46 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_modules_item_suspend_user_groups_required_type_0.py +71 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_modules_item_suspend_user_groups_required_type_0_type.py +8 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_modules_item_suspend_user_groups_required_type_1.py +71 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_modules_item_suspend_user_groups_required_type_1_type.py +8 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_preprocessor_module.py +340 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_preprocessor_module_mock.py +66 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_preprocessor_module_retry.py +99 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_preprocessor_module_retry_constant.py +66 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_preprocessor_module_retry_exponential.py +82 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_preprocessor_module_skip_if.py +58 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_preprocessor_module_sleep_type_0.py +69 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_preprocessor_module_sleep_type_0_type.py +8 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_preprocessor_module_sleep_type_1.py +69 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_preprocessor_module_sleep_type_1_type.py +8 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_preprocessor_module_stop_after_all_iters_if.py +78 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_preprocessor_module_stop_after_if.py +76 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend.py +215 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend_resume_form.py +79 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend_resume_form_schema.py +46 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend_user_groups_required_type_0.py +73 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend_user_groups_required_type_0_type.py +8 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend_user_groups_required_type_1.py +73 -0
- windmill_api/models/run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend_user_groups_required_type_1_type.py +8 -0
- windmill_api/models/run_script_preview_and_wait_result_json_body.py +149 -0
- windmill_api/models/run_script_preview_and_wait_result_json_body_args.py +44 -0
- windmill_api/models/run_script_preview_and_wait_result_json_body_kind.py +10 -0
- windmill_api/models/run_script_preview_and_wait_result_json_body_language.py +29 -0
- windmill_api/models/run_script_preview_json_body.py +3 -3
- {windmill_api-1.529.0.dist-info → windmill_api-1.530.0.dist-info}/METADATA +1 -1
- {windmill_api-1.529.0.dist-info → windmill_api-1.530.0.dist-info}/RECORD +73 -6
- {windmill_api-1.529.0.dist-info → windmill_api-1.530.0.dist-info}/LICENSE +0 -0
- {windmill_api-1.529.0.dist-info → windmill_api-1.530.0.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,340 @@
|
|
|
1
|
+
from typing import TYPE_CHECKING, 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
|
+
if TYPE_CHECKING:
|
|
9
|
+
from ..models.run_flow_preview_and_wait_result_json_body_value_preprocessor_module_mock import (
|
|
10
|
+
RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleMock,
|
|
11
|
+
)
|
|
12
|
+
from ..models.run_flow_preview_and_wait_result_json_body_value_preprocessor_module_retry import (
|
|
13
|
+
RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleRetry,
|
|
14
|
+
)
|
|
15
|
+
from ..models.run_flow_preview_and_wait_result_json_body_value_preprocessor_module_skip_if import (
|
|
16
|
+
RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSkipIf,
|
|
17
|
+
)
|
|
18
|
+
from ..models.run_flow_preview_and_wait_result_json_body_value_preprocessor_module_sleep_type_0 import (
|
|
19
|
+
RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSleepType0,
|
|
20
|
+
)
|
|
21
|
+
from ..models.run_flow_preview_and_wait_result_json_body_value_preprocessor_module_sleep_type_1 import (
|
|
22
|
+
RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSleepType1,
|
|
23
|
+
)
|
|
24
|
+
from ..models.run_flow_preview_and_wait_result_json_body_value_preprocessor_module_stop_after_all_iters_if import (
|
|
25
|
+
RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleStopAfterAllItersIf,
|
|
26
|
+
)
|
|
27
|
+
from ..models.run_flow_preview_and_wait_result_json_body_value_preprocessor_module_stop_after_if import (
|
|
28
|
+
RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleStopAfterIf,
|
|
29
|
+
)
|
|
30
|
+
from ..models.run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend import (
|
|
31
|
+
RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspend,
|
|
32
|
+
)
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
T = TypeVar("T", bound="RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModule")
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
@_attrs_define
|
|
39
|
+
class RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModule:
|
|
40
|
+
"""
|
|
41
|
+
Attributes:
|
|
42
|
+
id (str):
|
|
43
|
+
value (Any):
|
|
44
|
+
stop_after_if (Union[Unset, RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleStopAfterIf]):
|
|
45
|
+
stop_after_all_iters_if (Union[Unset,
|
|
46
|
+
RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleStopAfterAllItersIf]):
|
|
47
|
+
skip_if (Union[Unset, RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSkipIf]):
|
|
48
|
+
sleep (Union['RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSleepType0',
|
|
49
|
+
'RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSleepType1', Unset]):
|
|
50
|
+
cache_ttl (Union[Unset, float]):
|
|
51
|
+
timeout (Union[Unset, float]):
|
|
52
|
+
delete_after_use (Union[Unset, bool]):
|
|
53
|
+
summary (Union[Unset, str]):
|
|
54
|
+
mock (Union[Unset, RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleMock]):
|
|
55
|
+
suspend (Union[Unset, RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspend]):
|
|
56
|
+
priority (Union[Unset, float]):
|
|
57
|
+
continue_on_error (Union[Unset, bool]):
|
|
58
|
+
retry (Union[Unset, RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleRetry]):
|
|
59
|
+
"""
|
|
60
|
+
|
|
61
|
+
id: str
|
|
62
|
+
value: Any
|
|
63
|
+
stop_after_if: Union[Unset, "RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleStopAfterIf"] = UNSET
|
|
64
|
+
stop_after_all_iters_if: Union[
|
|
65
|
+
Unset, "RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleStopAfterAllItersIf"
|
|
66
|
+
] = UNSET
|
|
67
|
+
skip_if: Union[Unset, "RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSkipIf"] = UNSET
|
|
68
|
+
sleep: Union[
|
|
69
|
+
"RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSleepType0",
|
|
70
|
+
"RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSleepType1",
|
|
71
|
+
Unset,
|
|
72
|
+
] = UNSET
|
|
73
|
+
cache_ttl: Union[Unset, float] = UNSET
|
|
74
|
+
timeout: Union[Unset, float] = UNSET
|
|
75
|
+
delete_after_use: Union[Unset, bool] = UNSET
|
|
76
|
+
summary: Union[Unset, str] = UNSET
|
|
77
|
+
mock: Union[Unset, "RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleMock"] = UNSET
|
|
78
|
+
suspend: Union[Unset, "RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspend"] = UNSET
|
|
79
|
+
priority: Union[Unset, float] = UNSET
|
|
80
|
+
continue_on_error: Union[Unset, bool] = UNSET
|
|
81
|
+
retry: Union[Unset, "RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleRetry"] = UNSET
|
|
82
|
+
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
83
|
+
|
|
84
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
85
|
+
from ..models.run_flow_preview_and_wait_result_json_body_value_preprocessor_module_sleep_type_0 import (
|
|
86
|
+
RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSleepType0,
|
|
87
|
+
)
|
|
88
|
+
|
|
89
|
+
id = self.id
|
|
90
|
+
value = self.value
|
|
91
|
+
stop_after_if: Union[Unset, Dict[str, Any]] = UNSET
|
|
92
|
+
if not isinstance(self.stop_after_if, Unset):
|
|
93
|
+
stop_after_if = self.stop_after_if.to_dict()
|
|
94
|
+
|
|
95
|
+
stop_after_all_iters_if: Union[Unset, Dict[str, Any]] = UNSET
|
|
96
|
+
if not isinstance(self.stop_after_all_iters_if, Unset):
|
|
97
|
+
stop_after_all_iters_if = self.stop_after_all_iters_if.to_dict()
|
|
98
|
+
|
|
99
|
+
skip_if: Union[Unset, Dict[str, Any]] = UNSET
|
|
100
|
+
if not isinstance(self.skip_if, Unset):
|
|
101
|
+
skip_if = self.skip_if.to_dict()
|
|
102
|
+
|
|
103
|
+
sleep: Union[Dict[str, Any], Unset]
|
|
104
|
+
if isinstance(self.sleep, Unset):
|
|
105
|
+
sleep = UNSET
|
|
106
|
+
|
|
107
|
+
elif isinstance(self.sleep, RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSleepType0):
|
|
108
|
+
sleep = UNSET
|
|
109
|
+
if not isinstance(self.sleep, Unset):
|
|
110
|
+
sleep = self.sleep.to_dict()
|
|
111
|
+
|
|
112
|
+
else:
|
|
113
|
+
sleep = UNSET
|
|
114
|
+
if not isinstance(self.sleep, Unset):
|
|
115
|
+
sleep = self.sleep.to_dict()
|
|
116
|
+
|
|
117
|
+
cache_ttl = self.cache_ttl
|
|
118
|
+
timeout = self.timeout
|
|
119
|
+
delete_after_use = self.delete_after_use
|
|
120
|
+
summary = self.summary
|
|
121
|
+
mock: Union[Unset, Dict[str, Any]] = UNSET
|
|
122
|
+
if not isinstance(self.mock, Unset):
|
|
123
|
+
mock = self.mock.to_dict()
|
|
124
|
+
|
|
125
|
+
suspend: Union[Unset, Dict[str, Any]] = UNSET
|
|
126
|
+
if not isinstance(self.suspend, Unset):
|
|
127
|
+
suspend = self.suspend.to_dict()
|
|
128
|
+
|
|
129
|
+
priority = self.priority
|
|
130
|
+
continue_on_error = self.continue_on_error
|
|
131
|
+
retry: Union[Unset, Dict[str, Any]] = UNSET
|
|
132
|
+
if not isinstance(self.retry, Unset):
|
|
133
|
+
retry = self.retry.to_dict()
|
|
134
|
+
|
|
135
|
+
field_dict: Dict[str, Any] = {}
|
|
136
|
+
field_dict.update(self.additional_properties)
|
|
137
|
+
field_dict.update(
|
|
138
|
+
{
|
|
139
|
+
"id": id,
|
|
140
|
+
"value": value,
|
|
141
|
+
}
|
|
142
|
+
)
|
|
143
|
+
if stop_after_if is not UNSET:
|
|
144
|
+
field_dict["stop_after_if"] = stop_after_if
|
|
145
|
+
if stop_after_all_iters_if is not UNSET:
|
|
146
|
+
field_dict["stop_after_all_iters_if"] = stop_after_all_iters_if
|
|
147
|
+
if skip_if is not UNSET:
|
|
148
|
+
field_dict["skip_if"] = skip_if
|
|
149
|
+
if sleep is not UNSET:
|
|
150
|
+
field_dict["sleep"] = sleep
|
|
151
|
+
if cache_ttl is not UNSET:
|
|
152
|
+
field_dict["cache_ttl"] = cache_ttl
|
|
153
|
+
if timeout is not UNSET:
|
|
154
|
+
field_dict["timeout"] = timeout
|
|
155
|
+
if delete_after_use is not UNSET:
|
|
156
|
+
field_dict["delete_after_use"] = delete_after_use
|
|
157
|
+
if summary is not UNSET:
|
|
158
|
+
field_dict["summary"] = summary
|
|
159
|
+
if mock is not UNSET:
|
|
160
|
+
field_dict["mock"] = mock
|
|
161
|
+
if suspend is not UNSET:
|
|
162
|
+
field_dict["suspend"] = suspend
|
|
163
|
+
if priority is not UNSET:
|
|
164
|
+
field_dict["priority"] = priority
|
|
165
|
+
if continue_on_error is not UNSET:
|
|
166
|
+
field_dict["continue_on_error"] = continue_on_error
|
|
167
|
+
if retry is not UNSET:
|
|
168
|
+
field_dict["retry"] = retry
|
|
169
|
+
|
|
170
|
+
return field_dict
|
|
171
|
+
|
|
172
|
+
@classmethod
|
|
173
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
174
|
+
from ..models.run_flow_preview_and_wait_result_json_body_value_preprocessor_module_mock import (
|
|
175
|
+
RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleMock,
|
|
176
|
+
)
|
|
177
|
+
from ..models.run_flow_preview_and_wait_result_json_body_value_preprocessor_module_retry import (
|
|
178
|
+
RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleRetry,
|
|
179
|
+
)
|
|
180
|
+
from ..models.run_flow_preview_and_wait_result_json_body_value_preprocessor_module_skip_if import (
|
|
181
|
+
RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSkipIf,
|
|
182
|
+
)
|
|
183
|
+
from ..models.run_flow_preview_and_wait_result_json_body_value_preprocessor_module_sleep_type_0 import (
|
|
184
|
+
RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSleepType0,
|
|
185
|
+
)
|
|
186
|
+
from ..models.run_flow_preview_and_wait_result_json_body_value_preprocessor_module_sleep_type_1 import (
|
|
187
|
+
RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSleepType1,
|
|
188
|
+
)
|
|
189
|
+
from ..models.run_flow_preview_and_wait_result_json_body_value_preprocessor_module_stop_after_all_iters_if import (
|
|
190
|
+
RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleStopAfterAllItersIf,
|
|
191
|
+
)
|
|
192
|
+
from ..models.run_flow_preview_and_wait_result_json_body_value_preprocessor_module_stop_after_if import (
|
|
193
|
+
RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleStopAfterIf,
|
|
194
|
+
)
|
|
195
|
+
from ..models.run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend import (
|
|
196
|
+
RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspend,
|
|
197
|
+
)
|
|
198
|
+
|
|
199
|
+
d = src_dict.copy()
|
|
200
|
+
id = d.pop("id")
|
|
201
|
+
|
|
202
|
+
value = d.pop("value")
|
|
203
|
+
|
|
204
|
+
_stop_after_if = d.pop("stop_after_if", UNSET)
|
|
205
|
+
stop_after_if: Union[Unset, RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleStopAfterIf]
|
|
206
|
+
if isinstance(_stop_after_if, Unset):
|
|
207
|
+
stop_after_if = UNSET
|
|
208
|
+
else:
|
|
209
|
+
stop_after_if = RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleStopAfterIf.from_dict(
|
|
210
|
+
_stop_after_if
|
|
211
|
+
)
|
|
212
|
+
|
|
213
|
+
_stop_after_all_iters_if = d.pop("stop_after_all_iters_if", UNSET)
|
|
214
|
+
stop_after_all_iters_if: Union[
|
|
215
|
+
Unset, RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleStopAfterAllItersIf
|
|
216
|
+
]
|
|
217
|
+
if isinstance(_stop_after_all_iters_if, Unset):
|
|
218
|
+
stop_after_all_iters_if = UNSET
|
|
219
|
+
else:
|
|
220
|
+
stop_after_all_iters_if = (
|
|
221
|
+
RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleStopAfterAllItersIf.from_dict(
|
|
222
|
+
_stop_after_all_iters_if
|
|
223
|
+
)
|
|
224
|
+
)
|
|
225
|
+
|
|
226
|
+
_skip_if = d.pop("skip_if", UNSET)
|
|
227
|
+
skip_if: Union[Unset, RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSkipIf]
|
|
228
|
+
if isinstance(_skip_if, Unset):
|
|
229
|
+
skip_if = UNSET
|
|
230
|
+
else:
|
|
231
|
+
skip_if = RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSkipIf.from_dict(_skip_if)
|
|
232
|
+
|
|
233
|
+
def _parse_sleep(
|
|
234
|
+
data: object,
|
|
235
|
+
) -> Union[
|
|
236
|
+
"RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSleepType0",
|
|
237
|
+
"RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSleepType1",
|
|
238
|
+
Unset,
|
|
239
|
+
]:
|
|
240
|
+
if isinstance(data, Unset):
|
|
241
|
+
return data
|
|
242
|
+
try:
|
|
243
|
+
if not isinstance(data, dict):
|
|
244
|
+
raise TypeError()
|
|
245
|
+
_sleep_type_0 = data
|
|
246
|
+
sleep_type_0: Union[Unset, RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSleepType0]
|
|
247
|
+
if isinstance(_sleep_type_0, Unset):
|
|
248
|
+
sleep_type_0 = UNSET
|
|
249
|
+
else:
|
|
250
|
+
sleep_type_0 = RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSleepType0.from_dict(
|
|
251
|
+
_sleep_type_0
|
|
252
|
+
)
|
|
253
|
+
|
|
254
|
+
return sleep_type_0
|
|
255
|
+
except: # noqa: E722
|
|
256
|
+
pass
|
|
257
|
+
if not isinstance(data, dict):
|
|
258
|
+
raise TypeError()
|
|
259
|
+
_sleep_type_1 = data
|
|
260
|
+
sleep_type_1: Union[Unset, RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSleepType1]
|
|
261
|
+
if isinstance(_sleep_type_1, Unset):
|
|
262
|
+
sleep_type_1 = UNSET
|
|
263
|
+
else:
|
|
264
|
+
sleep_type_1 = RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSleepType1.from_dict(
|
|
265
|
+
_sleep_type_1
|
|
266
|
+
)
|
|
267
|
+
|
|
268
|
+
return sleep_type_1
|
|
269
|
+
|
|
270
|
+
sleep = _parse_sleep(d.pop("sleep", UNSET))
|
|
271
|
+
|
|
272
|
+
cache_ttl = d.pop("cache_ttl", UNSET)
|
|
273
|
+
|
|
274
|
+
timeout = d.pop("timeout", UNSET)
|
|
275
|
+
|
|
276
|
+
delete_after_use = d.pop("delete_after_use", UNSET)
|
|
277
|
+
|
|
278
|
+
summary = d.pop("summary", UNSET)
|
|
279
|
+
|
|
280
|
+
_mock = d.pop("mock", UNSET)
|
|
281
|
+
mock: Union[Unset, RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleMock]
|
|
282
|
+
if isinstance(_mock, Unset):
|
|
283
|
+
mock = UNSET
|
|
284
|
+
else:
|
|
285
|
+
mock = RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleMock.from_dict(_mock)
|
|
286
|
+
|
|
287
|
+
_suspend = d.pop("suspend", UNSET)
|
|
288
|
+
suspend: Union[Unset, RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspend]
|
|
289
|
+
if isinstance(_suspend, Unset):
|
|
290
|
+
suspend = UNSET
|
|
291
|
+
else:
|
|
292
|
+
suspend = RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspend.from_dict(_suspend)
|
|
293
|
+
|
|
294
|
+
priority = d.pop("priority", UNSET)
|
|
295
|
+
|
|
296
|
+
continue_on_error = d.pop("continue_on_error", UNSET)
|
|
297
|
+
|
|
298
|
+
_retry = d.pop("retry", UNSET)
|
|
299
|
+
retry: Union[Unset, RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleRetry]
|
|
300
|
+
if isinstance(_retry, Unset):
|
|
301
|
+
retry = UNSET
|
|
302
|
+
else:
|
|
303
|
+
retry = RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleRetry.from_dict(_retry)
|
|
304
|
+
|
|
305
|
+
run_flow_preview_and_wait_result_json_body_value_preprocessor_module = cls(
|
|
306
|
+
id=id,
|
|
307
|
+
value=value,
|
|
308
|
+
stop_after_if=stop_after_if,
|
|
309
|
+
stop_after_all_iters_if=stop_after_all_iters_if,
|
|
310
|
+
skip_if=skip_if,
|
|
311
|
+
sleep=sleep,
|
|
312
|
+
cache_ttl=cache_ttl,
|
|
313
|
+
timeout=timeout,
|
|
314
|
+
delete_after_use=delete_after_use,
|
|
315
|
+
summary=summary,
|
|
316
|
+
mock=mock,
|
|
317
|
+
suspend=suspend,
|
|
318
|
+
priority=priority,
|
|
319
|
+
continue_on_error=continue_on_error,
|
|
320
|
+
retry=retry,
|
|
321
|
+
)
|
|
322
|
+
|
|
323
|
+
run_flow_preview_and_wait_result_json_body_value_preprocessor_module.additional_properties = d
|
|
324
|
+
return run_flow_preview_and_wait_result_json_body_value_preprocessor_module
|
|
325
|
+
|
|
326
|
+
@property
|
|
327
|
+
def additional_keys(self) -> List[str]:
|
|
328
|
+
return list(self.additional_properties.keys())
|
|
329
|
+
|
|
330
|
+
def __getitem__(self, key: str) -> Any:
|
|
331
|
+
return self.additional_properties[key]
|
|
332
|
+
|
|
333
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
334
|
+
self.additional_properties[key] = value
|
|
335
|
+
|
|
336
|
+
def __delitem__(self, key: str) -> None:
|
|
337
|
+
del self.additional_properties[key]
|
|
338
|
+
|
|
339
|
+
def __contains__(self, key: str) -> bool:
|
|
340
|
+
return key in self.additional_properties
|
windmill_api/models/run_flow_preview_and_wait_result_json_body_value_preprocessor_module_mock.py
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
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="RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleMock")
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
@_attrs_define
|
|
12
|
+
class RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleMock:
|
|
13
|
+
"""
|
|
14
|
+
Attributes:
|
|
15
|
+
enabled (Union[Unset, bool]):
|
|
16
|
+
return_value (Union[Unset, Any]):
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
enabled: Union[Unset, bool] = UNSET
|
|
20
|
+
return_value: Union[Unset, Any] = UNSET
|
|
21
|
+
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
22
|
+
|
|
23
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
24
|
+
enabled = self.enabled
|
|
25
|
+
return_value = self.return_value
|
|
26
|
+
|
|
27
|
+
field_dict: Dict[str, Any] = {}
|
|
28
|
+
field_dict.update(self.additional_properties)
|
|
29
|
+
field_dict.update({})
|
|
30
|
+
if enabled is not UNSET:
|
|
31
|
+
field_dict["enabled"] = enabled
|
|
32
|
+
if return_value is not UNSET:
|
|
33
|
+
field_dict["return_value"] = return_value
|
|
34
|
+
|
|
35
|
+
return field_dict
|
|
36
|
+
|
|
37
|
+
@classmethod
|
|
38
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
39
|
+
d = src_dict.copy()
|
|
40
|
+
enabled = d.pop("enabled", UNSET)
|
|
41
|
+
|
|
42
|
+
return_value = d.pop("return_value", UNSET)
|
|
43
|
+
|
|
44
|
+
run_flow_preview_and_wait_result_json_body_value_preprocessor_module_mock = cls(
|
|
45
|
+
enabled=enabled,
|
|
46
|
+
return_value=return_value,
|
|
47
|
+
)
|
|
48
|
+
|
|
49
|
+
run_flow_preview_and_wait_result_json_body_value_preprocessor_module_mock.additional_properties = d
|
|
50
|
+
return run_flow_preview_and_wait_result_json_body_value_preprocessor_module_mock
|
|
51
|
+
|
|
52
|
+
@property
|
|
53
|
+
def additional_keys(self) -> List[str]:
|
|
54
|
+
return list(self.additional_properties.keys())
|
|
55
|
+
|
|
56
|
+
def __getitem__(self, key: str) -> Any:
|
|
57
|
+
return self.additional_properties[key]
|
|
58
|
+
|
|
59
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
60
|
+
self.additional_properties[key] = value
|
|
61
|
+
|
|
62
|
+
def __delitem__(self, key: str) -> None:
|
|
63
|
+
del self.additional_properties[key]
|
|
64
|
+
|
|
65
|
+
def __contains__(self, key: str) -> bool:
|
|
66
|
+
return key in self.additional_properties
|
windmill_api/models/run_flow_preview_and_wait_result_json_body_value_preprocessor_module_retry.py
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
from typing import TYPE_CHECKING, 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
|
+
if TYPE_CHECKING:
|
|
9
|
+
from ..models.run_flow_preview_and_wait_result_json_body_value_preprocessor_module_retry_constant import (
|
|
10
|
+
RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleRetryConstant,
|
|
11
|
+
)
|
|
12
|
+
from ..models.run_flow_preview_and_wait_result_json_body_value_preprocessor_module_retry_exponential import (
|
|
13
|
+
RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleRetryExponential,
|
|
14
|
+
)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
T = TypeVar("T", bound="RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleRetry")
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
@_attrs_define
|
|
21
|
+
class RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleRetry:
|
|
22
|
+
"""
|
|
23
|
+
Attributes:
|
|
24
|
+
constant (Union[Unset, RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleRetryConstant]):
|
|
25
|
+
exponential (Union[Unset, RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleRetryExponential]):
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
constant: Union[Unset, "RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleRetryConstant"] = UNSET
|
|
29
|
+
exponential: Union[Unset, "RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleRetryExponential"] = UNSET
|
|
30
|
+
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
31
|
+
|
|
32
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
33
|
+
constant: Union[Unset, Dict[str, Any]] = UNSET
|
|
34
|
+
if not isinstance(self.constant, Unset):
|
|
35
|
+
constant = self.constant.to_dict()
|
|
36
|
+
|
|
37
|
+
exponential: Union[Unset, Dict[str, Any]] = UNSET
|
|
38
|
+
if not isinstance(self.exponential, Unset):
|
|
39
|
+
exponential = self.exponential.to_dict()
|
|
40
|
+
|
|
41
|
+
field_dict: Dict[str, Any] = {}
|
|
42
|
+
field_dict.update(self.additional_properties)
|
|
43
|
+
field_dict.update({})
|
|
44
|
+
if constant is not UNSET:
|
|
45
|
+
field_dict["constant"] = constant
|
|
46
|
+
if exponential is not UNSET:
|
|
47
|
+
field_dict["exponential"] = exponential
|
|
48
|
+
|
|
49
|
+
return field_dict
|
|
50
|
+
|
|
51
|
+
@classmethod
|
|
52
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
53
|
+
from ..models.run_flow_preview_and_wait_result_json_body_value_preprocessor_module_retry_constant import (
|
|
54
|
+
RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleRetryConstant,
|
|
55
|
+
)
|
|
56
|
+
from ..models.run_flow_preview_and_wait_result_json_body_value_preprocessor_module_retry_exponential import (
|
|
57
|
+
RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleRetryExponential,
|
|
58
|
+
)
|
|
59
|
+
|
|
60
|
+
d = src_dict.copy()
|
|
61
|
+
_constant = d.pop("constant", UNSET)
|
|
62
|
+
constant: Union[Unset, RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleRetryConstant]
|
|
63
|
+
if isinstance(_constant, Unset):
|
|
64
|
+
constant = UNSET
|
|
65
|
+
else:
|
|
66
|
+
constant = RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleRetryConstant.from_dict(_constant)
|
|
67
|
+
|
|
68
|
+
_exponential = d.pop("exponential", UNSET)
|
|
69
|
+
exponential: Union[Unset, RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleRetryExponential]
|
|
70
|
+
if isinstance(_exponential, Unset):
|
|
71
|
+
exponential = UNSET
|
|
72
|
+
else:
|
|
73
|
+
exponential = RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleRetryExponential.from_dict(
|
|
74
|
+
_exponential
|
|
75
|
+
)
|
|
76
|
+
|
|
77
|
+
run_flow_preview_and_wait_result_json_body_value_preprocessor_module_retry = cls(
|
|
78
|
+
constant=constant,
|
|
79
|
+
exponential=exponential,
|
|
80
|
+
)
|
|
81
|
+
|
|
82
|
+
run_flow_preview_and_wait_result_json_body_value_preprocessor_module_retry.additional_properties = d
|
|
83
|
+
return run_flow_preview_and_wait_result_json_body_value_preprocessor_module_retry
|
|
84
|
+
|
|
85
|
+
@property
|
|
86
|
+
def additional_keys(self) -> List[str]:
|
|
87
|
+
return list(self.additional_properties.keys())
|
|
88
|
+
|
|
89
|
+
def __getitem__(self, key: str) -> Any:
|
|
90
|
+
return self.additional_properties[key]
|
|
91
|
+
|
|
92
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
93
|
+
self.additional_properties[key] = value
|
|
94
|
+
|
|
95
|
+
def __delitem__(self, key: str) -> None:
|
|
96
|
+
del self.additional_properties[key]
|
|
97
|
+
|
|
98
|
+
def __contains__(self, key: str) -> bool:
|
|
99
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,66 @@
|
|
|
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="RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleRetryConstant")
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
@_attrs_define
|
|
12
|
+
class RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleRetryConstant:
|
|
13
|
+
"""
|
|
14
|
+
Attributes:
|
|
15
|
+
attempts (Union[Unset, int]):
|
|
16
|
+
seconds (Union[Unset, int]):
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
attempts: Union[Unset, int] = UNSET
|
|
20
|
+
seconds: Union[Unset, int] = UNSET
|
|
21
|
+
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
22
|
+
|
|
23
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
24
|
+
attempts = self.attempts
|
|
25
|
+
seconds = self.seconds
|
|
26
|
+
|
|
27
|
+
field_dict: Dict[str, Any] = {}
|
|
28
|
+
field_dict.update(self.additional_properties)
|
|
29
|
+
field_dict.update({})
|
|
30
|
+
if attempts is not UNSET:
|
|
31
|
+
field_dict["attempts"] = attempts
|
|
32
|
+
if seconds is not UNSET:
|
|
33
|
+
field_dict["seconds"] = seconds
|
|
34
|
+
|
|
35
|
+
return field_dict
|
|
36
|
+
|
|
37
|
+
@classmethod
|
|
38
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
39
|
+
d = src_dict.copy()
|
|
40
|
+
attempts = d.pop("attempts", UNSET)
|
|
41
|
+
|
|
42
|
+
seconds = d.pop("seconds", UNSET)
|
|
43
|
+
|
|
44
|
+
run_flow_preview_and_wait_result_json_body_value_preprocessor_module_retry_constant = cls(
|
|
45
|
+
attempts=attempts,
|
|
46
|
+
seconds=seconds,
|
|
47
|
+
)
|
|
48
|
+
|
|
49
|
+
run_flow_preview_and_wait_result_json_body_value_preprocessor_module_retry_constant.additional_properties = d
|
|
50
|
+
return run_flow_preview_and_wait_result_json_body_value_preprocessor_module_retry_constant
|
|
51
|
+
|
|
52
|
+
@property
|
|
53
|
+
def additional_keys(self) -> List[str]:
|
|
54
|
+
return list(self.additional_properties.keys())
|
|
55
|
+
|
|
56
|
+
def __getitem__(self, key: str) -> Any:
|
|
57
|
+
return self.additional_properties[key]
|
|
58
|
+
|
|
59
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
60
|
+
self.additional_properties[key] = value
|
|
61
|
+
|
|
62
|
+
def __delitem__(self, key: str) -> None:
|
|
63
|
+
del self.additional_properties[key]
|
|
64
|
+
|
|
65
|
+
def __contains__(self, key: str) -> bool:
|
|
66
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,82 @@
|
|
|
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="RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleRetryExponential")
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
@_attrs_define
|
|
12
|
+
class RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleRetryExponential:
|
|
13
|
+
"""
|
|
14
|
+
Attributes:
|
|
15
|
+
attempts (Union[Unset, int]):
|
|
16
|
+
multiplier (Union[Unset, int]):
|
|
17
|
+
seconds (Union[Unset, int]):
|
|
18
|
+
random_factor (Union[Unset, int]):
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
attempts: Union[Unset, int] = UNSET
|
|
22
|
+
multiplier: Union[Unset, int] = UNSET
|
|
23
|
+
seconds: Union[Unset, int] = UNSET
|
|
24
|
+
random_factor: Union[Unset, int] = UNSET
|
|
25
|
+
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
26
|
+
|
|
27
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
28
|
+
attempts = self.attempts
|
|
29
|
+
multiplier = self.multiplier
|
|
30
|
+
seconds = self.seconds
|
|
31
|
+
random_factor = self.random_factor
|
|
32
|
+
|
|
33
|
+
field_dict: Dict[str, Any] = {}
|
|
34
|
+
field_dict.update(self.additional_properties)
|
|
35
|
+
field_dict.update({})
|
|
36
|
+
if attempts is not UNSET:
|
|
37
|
+
field_dict["attempts"] = attempts
|
|
38
|
+
if multiplier is not UNSET:
|
|
39
|
+
field_dict["multiplier"] = multiplier
|
|
40
|
+
if seconds is not UNSET:
|
|
41
|
+
field_dict["seconds"] = seconds
|
|
42
|
+
if random_factor is not UNSET:
|
|
43
|
+
field_dict["random_factor"] = random_factor
|
|
44
|
+
|
|
45
|
+
return field_dict
|
|
46
|
+
|
|
47
|
+
@classmethod
|
|
48
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
49
|
+
d = src_dict.copy()
|
|
50
|
+
attempts = d.pop("attempts", UNSET)
|
|
51
|
+
|
|
52
|
+
multiplier = d.pop("multiplier", UNSET)
|
|
53
|
+
|
|
54
|
+
seconds = d.pop("seconds", UNSET)
|
|
55
|
+
|
|
56
|
+
random_factor = d.pop("random_factor", UNSET)
|
|
57
|
+
|
|
58
|
+
run_flow_preview_and_wait_result_json_body_value_preprocessor_module_retry_exponential = cls(
|
|
59
|
+
attempts=attempts,
|
|
60
|
+
multiplier=multiplier,
|
|
61
|
+
seconds=seconds,
|
|
62
|
+
random_factor=random_factor,
|
|
63
|
+
)
|
|
64
|
+
|
|
65
|
+
run_flow_preview_and_wait_result_json_body_value_preprocessor_module_retry_exponential.additional_properties = d
|
|
66
|
+
return run_flow_preview_and_wait_result_json_body_value_preprocessor_module_retry_exponential
|
|
67
|
+
|
|
68
|
+
@property
|
|
69
|
+
def additional_keys(self) -> List[str]:
|
|
70
|
+
return list(self.additional_properties.keys())
|
|
71
|
+
|
|
72
|
+
def __getitem__(self, key: str) -> Any:
|
|
73
|
+
return self.additional_properties[key]
|
|
74
|
+
|
|
75
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
76
|
+
self.additional_properties[key] = value
|
|
77
|
+
|
|
78
|
+
def __delitem__(self, key: str) -> None:
|
|
79
|
+
del self.additional_properties[key]
|
|
80
|
+
|
|
81
|
+
def __contains__(self, key: str) -> bool:
|
|
82
|
+
return key in self.additional_properties
|