windmill-api 1.382.2__py3-none-any.whl → 1.383.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/branch_all_branches_item_modules_item.py +24 -0
- windmill_api/models/branch_all_branches_item_modules_item_stop_after_all_iters_if.py +68 -0
- windmill_api/models/branch_one_branches_item_modules_item.py +24 -0
- windmill_api/models/branch_one_branches_item_modules_item_stop_after_all_iters_if.py +68 -0
- windmill_api/models/branch_one_default_item.py +18 -0
- windmill_api/models/branch_one_default_item_stop_after_all_iters_if.py +68 -0
- windmill_api/models/completed_job_raw_flow_failure_module.py +24 -0
- windmill_api/models/completed_job_raw_flow_failure_module_stop_after_all_iters_if.py +68 -0
- windmill_api/models/completed_job_raw_flow_modules_item.py +24 -0
- windmill_api/models/completed_job_raw_flow_modules_item_stop_after_all_iters_if.py +68 -0
- windmill_api/models/delete_completed_job_response_200_raw_flow_failure_module.py +26 -0
- windmill_api/models/delete_completed_job_response_200_raw_flow_failure_module_stop_after_all_iters_if.py +68 -0
- windmill_api/models/delete_completed_job_response_200_raw_flow_modules_item.py +24 -0
- windmill_api/models/delete_completed_job_response_200_raw_flow_modules_item_stop_after_all_iters_if.py +68 -0
- windmill_api/models/extended_jobs_jobs_item_type_0_raw_flow_failure_module.py +24 -0
- windmill_api/models/extended_jobs_jobs_item_type_0_raw_flow_failure_module_stop_after_all_iters_if.py +68 -0
- windmill_api/models/extended_jobs_jobs_item_type_0_raw_flow_modules_item.py +24 -0
- windmill_api/models/extended_jobs_jobs_item_type_0_raw_flow_modules_item_stop_after_all_iters_if.py +68 -0
- windmill_api/models/extended_jobs_jobs_item_type_1_raw_flow_failure_module.py +24 -0
- windmill_api/models/extended_jobs_jobs_item_type_1_raw_flow_failure_module_stop_after_all_iters_if.py +68 -0
- windmill_api/models/extended_jobs_jobs_item_type_1_raw_flow_modules_item.py +24 -0
- windmill_api/models/extended_jobs_jobs_item_type_1_raw_flow_modules_item_stop_after_all_iters_if.py +68 -0
- windmill_api/models/flow_module.py +18 -0
- windmill_api/models/flow_module_stop_after_all_iters_if.py +68 -0
- windmill_api/models/flow_module_value_2_type_3_modules_item_stop_after_all_iters_if.py +68 -0
- windmill_api/models/flow_module_value_2_type_4_modules_item_stop_after_all_iters_if.py +68 -0
- windmill_api/models/flow_module_value_2_type_5_branches_item_modules_item_stop_after_all_iters_if.py +68 -0
- windmill_api/models/flow_module_value_2_type_5_default_item_stop_after_all_iters_if.py +68 -0
- windmill_api/models/flow_module_value_2_type_6_branches_item_modules_item_stop_after_all_iters_if.py +68 -0
- windmill_api/models/flow_preview_value_failure_module.py +24 -0
- windmill_api/models/flow_preview_value_failure_module_stop_after_all_iters_if.py +68 -0
- windmill_api/models/flow_preview_value_modules_item.py +22 -0
- windmill_api/models/flow_preview_value_modules_item_stop_after_all_iters_if.py +68 -0
- windmill_api/models/forloop_flow_modules_item.py +18 -0
- windmill_api/models/forloop_flow_modules_item_stop_after_all_iters_if.py +68 -0
- windmill_api/models/get_completed_job_response_200_raw_flow_failure_module.py +24 -0
- windmill_api/models/get_completed_job_response_200_raw_flow_failure_module_stop_after_all_iters_if.py +68 -0
- windmill_api/models/get_completed_job_response_200_raw_flow_modules_item.py +24 -0
- windmill_api/models/get_completed_job_response_200_raw_flow_modules_item_stop_after_all_iters_if.py +68 -0
- windmill_api/models/get_flow_by_path_response_200_value_failure_module.py +24 -0
- windmill_api/models/get_flow_by_path_response_200_value_failure_module_stop_after_all_iters_if.py +68 -0
- windmill_api/models/get_flow_by_path_response_200_value_modules_item.py +24 -0
- windmill_api/models/get_flow_by_path_response_200_value_modules_item_stop_after_all_iters_if.py +68 -0
- windmill_api/models/get_flow_by_path_with_draft_response_200_draft_value_failure_module.py +31 -0
- windmill_api/models/get_flow_by_path_with_draft_response_200_draft_value_failure_module_stop_after_all_iters_if.py +70 -0
- windmill_api/models/get_flow_by_path_with_draft_response_200_draft_value_modules_item.py +29 -0
- windmill_api/models/get_flow_by_path_with_draft_response_200_draft_value_modules_item_stop_after_all_iters_if.py +70 -0
- windmill_api/models/get_flow_version_response_200_value_failure_module.py +24 -0
- windmill_api/models/get_flow_version_response_200_value_failure_module_stop_after_all_iters_if.py +68 -0
- windmill_api/models/get_flow_version_response_200_value_modules_item.py +24 -0
- windmill_api/models/get_flow_version_response_200_value_modules_item_stop_after_all_iters_if.py +68 -0
- windmill_api/models/get_hub_flow_by_id_response_200_flow_value_failure_module.py +24 -0
- windmill_api/models/get_hub_flow_by_id_response_200_flow_value_failure_module_stop_after_all_iters_if.py +68 -0
- windmill_api/models/get_hub_flow_by_id_response_200_flow_value_modules_item.py +24 -0
- windmill_api/models/get_hub_flow_by_id_response_200_flow_value_modules_item_stop_after_all_iters_if.py +68 -0
- windmill_api/models/get_job_response_200_type_0_raw_flow_failure_module.py +24 -0
- windmill_api/models/get_job_response_200_type_0_raw_flow_failure_module_stop_after_all_iters_if.py +68 -0
- windmill_api/models/get_job_response_200_type_0_raw_flow_modules_item.py +24 -0
- windmill_api/models/get_job_response_200_type_0_raw_flow_modules_item_stop_after_all_iters_if.py +68 -0
- windmill_api/models/get_job_response_200_type_1_raw_flow_failure_module.py +24 -0
- windmill_api/models/get_job_response_200_type_1_raw_flow_failure_module_stop_after_all_iters_if.py +68 -0
- windmill_api/models/get_job_response_200_type_1_raw_flow_modules_item.py +24 -0
- windmill_api/models/get_job_response_200_type_1_raw_flow_modules_item_stop_after_all_iters_if.py +68 -0
- windmill_api/models/get_suspended_job_flow_response_200_job_type_0_raw_flow_failure_module.py +31 -0
- windmill_api/models/get_suspended_job_flow_response_200_job_type_0_raw_flow_failure_module_stop_after_all_iters_if.py +70 -0
- windmill_api/models/get_suspended_job_flow_response_200_job_type_0_raw_flow_modules_item.py +31 -0
- windmill_api/models/get_suspended_job_flow_response_200_job_type_0_raw_flow_modules_item_stop_after_all_iters_if.py +70 -0
- windmill_api/models/get_suspended_job_flow_response_200_job_type_1_raw_flow_failure_module.py +31 -0
- windmill_api/models/get_suspended_job_flow_response_200_job_type_1_raw_flow_failure_module_stop_after_all_iters_if.py +70 -0
- windmill_api/models/get_suspended_job_flow_response_200_job_type_1_raw_flow_modules_item.py +31 -0
- windmill_api/models/get_suspended_job_flow_response_200_job_type_1_raw_flow_modules_item_stop_after_all_iters_if.py +70 -0
- windmill_api/models/job_type_0_raw_flow_failure_module_stop_after_all_iters_if.py +68 -0
- windmill_api/models/job_type_0_raw_flow_modules_item_stop_after_all_iters_if.py +68 -0
- windmill_api/models/job_type_1_raw_flow_failure_module_stop_after_all_iters_if.py +68 -0
- windmill_api/models/job_type_1_raw_flow_modules_item_stop_after_all_iters_if.py +68 -0
- windmill_api/models/list_completed_jobs_response_200_item_raw_flow_failure_module.py +26 -0
- windmill_api/models/list_completed_jobs_response_200_item_raw_flow_failure_module_stop_after_all_iters_if.py +68 -0
- windmill_api/models/list_completed_jobs_response_200_item_raw_flow_modules_item.py +26 -0
- windmill_api/models/list_completed_jobs_response_200_item_raw_flow_modules_item_stop_after_all_iters_if.py +68 -0
- windmill_api/models/list_extended_jobs_response_200_jobs_item_type_0_raw_flow_failure_module.py +31 -0
- windmill_api/models/list_extended_jobs_response_200_jobs_item_type_0_raw_flow_failure_module_stop_after_all_iters_if.py +70 -0
- windmill_api/models/list_extended_jobs_response_200_jobs_item_type_0_raw_flow_modules_item.py +31 -0
- windmill_api/models/list_extended_jobs_response_200_jobs_item_type_0_raw_flow_modules_item_stop_after_all_iters_if.py +70 -0
- windmill_api/models/list_extended_jobs_response_200_jobs_item_type_1_raw_flow_failure_module.py +31 -0
- windmill_api/models/list_extended_jobs_response_200_jobs_item_type_1_raw_flow_failure_module_stop_after_all_iters_if.py +70 -0
- windmill_api/models/list_extended_jobs_response_200_jobs_item_type_1_raw_flow_modules_item.py +31 -0
- windmill_api/models/list_extended_jobs_response_200_jobs_item_type_1_raw_flow_modules_item_stop_after_all_iters_if.py +70 -0
- windmill_api/models/list_jobs_response_200_item_type_0_raw_flow_failure_module.py +24 -0
- windmill_api/models/list_jobs_response_200_item_type_0_raw_flow_failure_module_stop_after_all_iters_if.py +68 -0
- windmill_api/models/list_jobs_response_200_item_type_0_raw_flow_modules_item.py +24 -0
- windmill_api/models/list_jobs_response_200_item_type_0_raw_flow_modules_item_stop_after_all_iters_if.py +68 -0
- windmill_api/models/list_jobs_response_200_item_type_1_raw_flow_failure_module.py +24 -0
- windmill_api/models/list_jobs_response_200_item_type_1_raw_flow_failure_module_stop_after_all_iters_if.py +68 -0
- windmill_api/models/list_jobs_response_200_item_type_1_raw_flow_modules_item.py +24 -0
- windmill_api/models/list_jobs_response_200_item_type_1_raw_flow_modules_item_stop_after_all_iters_if.py +68 -0
- windmill_api/models/list_queue_response_200_item_raw_flow_failure_module.py +24 -0
- windmill_api/models/list_queue_response_200_item_raw_flow_failure_module_stop_after_all_iters_if.py +68 -0
- windmill_api/models/list_queue_response_200_item_raw_flow_modules_item.py +24 -0
- windmill_api/models/list_queue_response_200_item_raw_flow_modules_item_stop_after_all_iters_if.py +68 -0
- windmill_api/models/open_flow_value_failure_module.py +22 -0
- windmill_api/models/open_flow_value_failure_module_stop_after_all_iters_if.py +68 -0
- windmill_api/models/open_flow_value_modules_item.py +22 -0
- windmill_api/models/open_flow_value_modules_item_stop_after_all_iters_if.py +68 -0
- windmill_api/models/open_flow_w_path_value_failure_module.py +24 -0
- windmill_api/models/open_flow_w_path_value_failure_module_stop_after_all_iters_if.py +68 -0
- windmill_api/models/open_flow_w_path_value_modules_item.py +24 -0
- windmill_api/models/open_flow_w_path_value_modules_item_stop_after_all_iters_if.py +68 -0
- windmill_api/models/queued_job_raw_flow_failure_module.py +24 -0
- windmill_api/models/queued_job_raw_flow_failure_module_stop_after_all_iters_if.py +68 -0
- windmill_api/models/queued_job_raw_flow_modules_item.py +22 -0
- windmill_api/models/queued_job_raw_flow_modules_item_stop_after_all_iters_if.py +68 -0
- windmill_api/models/run_flow_preview_json_body_value_failure_module.py +24 -0
- windmill_api/models/run_flow_preview_json_body_value_failure_module_stop_after_all_iters_if.py +68 -0
- windmill_api/models/run_flow_preview_json_body_value_modules_item.py +24 -0
- windmill_api/models/run_flow_preview_json_body_value_modules_item_stop_after_all_iters_if.py +68 -0
- windmill_api/models/whileloop_flow_modules_item.py +20 -0
- windmill_api/models/whileloop_flow_modules_item_stop_after_all_iters_if.py +68 -0
- {windmill_api-1.382.2.dist-info → windmill_api-1.383.0.dist-info}/METADATA +1 -1
- {windmill_api-1.382.2.dist-info → windmill_api-1.383.0.dist-info}/RECORD +121 -58
- {windmill_api-1.382.2.dist-info → windmill_api-1.383.0.dist-info}/LICENSE +0 -0
- {windmill_api-1.382.2.dist-info → windmill_api-1.383.0.dist-info}/WHEEL +0 -0
|
@@ -18,6 +18,9 @@ if TYPE_CHECKING:
|
|
|
18
18
|
from ..models.get_flow_by_path_with_draft_response_200_draft_value_modules_item_sleep_type_1 import (
|
|
19
19
|
GetFlowByPathWithDraftResponse200DraftValueModulesItemSleepType1,
|
|
20
20
|
)
|
|
21
|
+
from ..models.get_flow_by_path_with_draft_response_200_draft_value_modules_item_stop_after_all_iters_if import (
|
|
22
|
+
GetFlowByPathWithDraftResponse200DraftValueModulesItemStopAfterAllItersIf,
|
|
23
|
+
)
|
|
21
24
|
from ..models.get_flow_by_path_with_draft_response_200_draft_value_modules_item_stop_after_if import (
|
|
22
25
|
GetFlowByPathWithDraftResponse200DraftValueModulesItemStopAfterIf,
|
|
23
26
|
)
|
|
@@ -36,6 +39,8 @@ class GetFlowByPathWithDraftResponse200DraftValueModulesItem:
|
|
|
36
39
|
id (str):
|
|
37
40
|
value (Any):
|
|
38
41
|
stop_after_if (Union[Unset, GetFlowByPathWithDraftResponse200DraftValueModulesItemStopAfterIf]):
|
|
42
|
+
stop_after_all_iters_if (Union[Unset,
|
|
43
|
+
GetFlowByPathWithDraftResponse200DraftValueModulesItemStopAfterAllItersIf]):
|
|
39
44
|
sleep (Union['GetFlowByPathWithDraftResponse200DraftValueModulesItemSleepType0',
|
|
40
45
|
'GetFlowByPathWithDraftResponse200DraftValueModulesItemSleepType1', Unset]):
|
|
41
46
|
cache_ttl (Union[Unset, float]):
|
|
@@ -52,6 +57,9 @@ class GetFlowByPathWithDraftResponse200DraftValueModulesItem:
|
|
|
52
57
|
id: str
|
|
53
58
|
value: Any
|
|
54
59
|
stop_after_if: Union[Unset, "GetFlowByPathWithDraftResponse200DraftValueModulesItemStopAfterIf"] = UNSET
|
|
60
|
+
stop_after_all_iters_if: Union[
|
|
61
|
+
Unset, "GetFlowByPathWithDraftResponse200DraftValueModulesItemStopAfterAllItersIf"
|
|
62
|
+
] = UNSET
|
|
55
63
|
sleep: Union[
|
|
56
64
|
"GetFlowByPathWithDraftResponse200DraftValueModulesItemSleepType0",
|
|
57
65
|
"GetFlowByPathWithDraftResponse200DraftValueModulesItemSleepType1",
|
|
@@ -79,6 +87,10 @@ class GetFlowByPathWithDraftResponse200DraftValueModulesItem:
|
|
|
79
87
|
if not isinstance(self.stop_after_if, Unset):
|
|
80
88
|
stop_after_if = self.stop_after_if.to_dict()
|
|
81
89
|
|
|
90
|
+
stop_after_all_iters_if: Union[Unset, Dict[str, Any]] = UNSET
|
|
91
|
+
if not isinstance(self.stop_after_all_iters_if, Unset):
|
|
92
|
+
stop_after_all_iters_if = self.stop_after_all_iters_if.to_dict()
|
|
93
|
+
|
|
82
94
|
sleep: Union[Dict[str, Any], Unset]
|
|
83
95
|
if isinstance(self.sleep, Unset):
|
|
84
96
|
sleep = UNSET
|
|
@@ -121,6 +133,8 @@ class GetFlowByPathWithDraftResponse200DraftValueModulesItem:
|
|
|
121
133
|
)
|
|
122
134
|
if stop_after_if is not UNSET:
|
|
123
135
|
field_dict["stop_after_if"] = stop_after_if
|
|
136
|
+
if stop_after_all_iters_if is not UNSET:
|
|
137
|
+
field_dict["stop_after_all_iters_if"] = stop_after_all_iters_if
|
|
124
138
|
if sleep is not UNSET:
|
|
125
139
|
field_dict["sleep"] = sleep
|
|
126
140
|
if cache_ttl is not UNSET:
|
|
@@ -158,6 +172,9 @@ class GetFlowByPathWithDraftResponse200DraftValueModulesItem:
|
|
|
158
172
|
from ..models.get_flow_by_path_with_draft_response_200_draft_value_modules_item_sleep_type_1 import (
|
|
159
173
|
GetFlowByPathWithDraftResponse200DraftValueModulesItemSleepType1,
|
|
160
174
|
)
|
|
175
|
+
from ..models.get_flow_by_path_with_draft_response_200_draft_value_modules_item_stop_after_all_iters_if import (
|
|
176
|
+
GetFlowByPathWithDraftResponse200DraftValueModulesItemStopAfterAllItersIf,
|
|
177
|
+
)
|
|
161
178
|
from ..models.get_flow_by_path_with_draft_response_200_draft_value_modules_item_stop_after_if import (
|
|
162
179
|
GetFlowByPathWithDraftResponse200DraftValueModulesItemStopAfterIf,
|
|
163
180
|
)
|
|
@@ -177,6 +194,17 @@ class GetFlowByPathWithDraftResponse200DraftValueModulesItem:
|
|
|
177
194
|
else:
|
|
178
195
|
stop_after_if = GetFlowByPathWithDraftResponse200DraftValueModulesItemStopAfterIf.from_dict(_stop_after_if)
|
|
179
196
|
|
|
197
|
+
_stop_after_all_iters_if = d.pop("stop_after_all_iters_if", UNSET)
|
|
198
|
+
stop_after_all_iters_if: Union[Unset, GetFlowByPathWithDraftResponse200DraftValueModulesItemStopAfterAllItersIf]
|
|
199
|
+
if isinstance(_stop_after_all_iters_if, Unset):
|
|
200
|
+
stop_after_all_iters_if = UNSET
|
|
201
|
+
else:
|
|
202
|
+
stop_after_all_iters_if = (
|
|
203
|
+
GetFlowByPathWithDraftResponse200DraftValueModulesItemStopAfterAllItersIf.from_dict(
|
|
204
|
+
_stop_after_all_iters_if
|
|
205
|
+
)
|
|
206
|
+
)
|
|
207
|
+
|
|
180
208
|
def _parse_sleep(
|
|
181
209
|
data: object,
|
|
182
210
|
) -> Union[
|
|
@@ -251,6 +279,7 @@ class GetFlowByPathWithDraftResponse200DraftValueModulesItem:
|
|
|
251
279
|
id=id,
|
|
252
280
|
value=value,
|
|
253
281
|
stop_after_if=stop_after_if,
|
|
282
|
+
stop_after_all_iters_if=stop_after_all_iters_if,
|
|
254
283
|
sleep=sleep,
|
|
255
284
|
cache_ttl=cache_ttl,
|
|
256
285
|
timeout=timeout,
|
|
@@ -0,0 +1,70 @@
|
|
|
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="GetFlowByPathWithDraftResponse200DraftValueModulesItemStopAfterAllItersIf")
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
@_attrs_define
|
|
12
|
+
class GetFlowByPathWithDraftResponse200DraftValueModulesItemStopAfterAllItersIf:
|
|
13
|
+
"""
|
|
14
|
+
Attributes:
|
|
15
|
+
expr (str):
|
|
16
|
+
skip_if_stopped (Union[Unset, bool]):
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
expr: str
|
|
20
|
+
skip_if_stopped: Union[Unset, bool] = UNSET
|
|
21
|
+
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
22
|
+
|
|
23
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
24
|
+
expr = self.expr
|
|
25
|
+
skip_if_stopped = self.skip_if_stopped
|
|
26
|
+
|
|
27
|
+
field_dict: Dict[str, Any] = {}
|
|
28
|
+
field_dict.update(self.additional_properties)
|
|
29
|
+
field_dict.update(
|
|
30
|
+
{
|
|
31
|
+
"expr": expr,
|
|
32
|
+
}
|
|
33
|
+
)
|
|
34
|
+
if skip_if_stopped is not UNSET:
|
|
35
|
+
field_dict["skip_if_stopped"] = skip_if_stopped
|
|
36
|
+
|
|
37
|
+
return field_dict
|
|
38
|
+
|
|
39
|
+
@classmethod
|
|
40
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
41
|
+
d = src_dict.copy()
|
|
42
|
+
expr = d.pop("expr")
|
|
43
|
+
|
|
44
|
+
skip_if_stopped = d.pop("skip_if_stopped", UNSET)
|
|
45
|
+
|
|
46
|
+
get_flow_by_path_with_draft_response_200_draft_value_modules_item_stop_after_all_iters_if = cls(
|
|
47
|
+
expr=expr,
|
|
48
|
+
skip_if_stopped=skip_if_stopped,
|
|
49
|
+
)
|
|
50
|
+
|
|
51
|
+
get_flow_by_path_with_draft_response_200_draft_value_modules_item_stop_after_all_iters_if.additional_properties = (
|
|
52
|
+
d
|
|
53
|
+
)
|
|
54
|
+
return get_flow_by_path_with_draft_response_200_draft_value_modules_item_stop_after_all_iters_if
|
|
55
|
+
|
|
56
|
+
@property
|
|
57
|
+
def additional_keys(self) -> List[str]:
|
|
58
|
+
return list(self.additional_properties.keys())
|
|
59
|
+
|
|
60
|
+
def __getitem__(self, key: str) -> Any:
|
|
61
|
+
return self.additional_properties[key]
|
|
62
|
+
|
|
63
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
64
|
+
self.additional_properties[key] = value
|
|
65
|
+
|
|
66
|
+
def __delitem__(self, key: str) -> None:
|
|
67
|
+
del self.additional_properties[key]
|
|
68
|
+
|
|
69
|
+
def __contains__(self, key: str) -> bool:
|
|
70
|
+
return key in self.additional_properties
|
|
@@ -18,6 +18,9 @@ if TYPE_CHECKING:
|
|
|
18
18
|
from ..models.get_flow_version_response_200_value_failure_module_sleep_type_1 import (
|
|
19
19
|
GetFlowVersionResponse200ValueFailureModuleSleepType1,
|
|
20
20
|
)
|
|
21
|
+
from ..models.get_flow_version_response_200_value_failure_module_stop_after_all_iters_if import (
|
|
22
|
+
GetFlowVersionResponse200ValueFailureModuleStopAfterAllItersIf,
|
|
23
|
+
)
|
|
21
24
|
from ..models.get_flow_version_response_200_value_failure_module_stop_after_if import (
|
|
22
25
|
GetFlowVersionResponse200ValueFailureModuleStopAfterIf,
|
|
23
26
|
)
|
|
@@ -36,6 +39,7 @@ class GetFlowVersionResponse200ValueFailureModule:
|
|
|
36
39
|
id (str):
|
|
37
40
|
value (Any):
|
|
38
41
|
stop_after_if (Union[Unset, GetFlowVersionResponse200ValueFailureModuleStopAfterIf]):
|
|
42
|
+
stop_after_all_iters_if (Union[Unset, GetFlowVersionResponse200ValueFailureModuleStopAfterAllItersIf]):
|
|
39
43
|
sleep (Union['GetFlowVersionResponse200ValueFailureModuleSleepType0',
|
|
40
44
|
'GetFlowVersionResponse200ValueFailureModuleSleepType1', Unset]):
|
|
41
45
|
cache_ttl (Union[Unset, float]):
|
|
@@ -52,6 +56,7 @@ class GetFlowVersionResponse200ValueFailureModule:
|
|
|
52
56
|
id: str
|
|
53
57
|
value: Any
|
|
54
58
|
stop_after_if: Union[Unset, "GetFlowVersionResponse200ValueFailureModuleStopAfterIf"] = UNSET
|
|
59
|
+
stop_after_all_iters_if: Union[Unset, "GetFlowVersionResponse200ValueFailureModuleStopAfterAllItersIf"] = UNSET
|
|
55
60
|
sleep: Union[
|
|
56
61
|
"GetFlowVersionResponse200ValueFailureModuleSleepType0",
|
|
57
62
|
"GetFlowVersionResponse200ValueFailureModuleSleepType1",
|
|
@@ -79,6 +84,10 @@ class GetFlowVersionResponse200ValueFailureModule:
|
|
|
79
84
|
if not isinstance(self.stop_after_if, Unset):
|
|
80
85
|
stop_after_if = self.stop_after_if.to_dict()
|
|
81
86
|
|
|
87
|
+
stop_after_all_iters_if: Union[Unset, Dict[str, Any]] = UNSET
|
|
88
|
+
if not isinstance(self.stop_after_all_iters_if, Unset):
|
|
89
|
+
stop_after_all_iters_if = self.stop_after_all_iters_if.to_dict()
|
|
90
|
+
|
|
82
91
|
sleep: Union[Dict[str, Any], Unset]
|
|
83
92
|
if isinstance(self.sleep, Unset):
|
|
84
93
|
sleep = UNSET
|
|
@@ -121,6 +130,8 @@ class GetFlowVersionResponse200ValueFailureModule:
|
|
|
121
130
|
)
|
|
122
131
|
if stop_after_if is not UNSET:
|
|
123
132
|
field_dict["stop_after_if"] = stop_after_if
|
|
133
|
+
if stop_after_all_iters_if is not UNSET:
|
|
134
|
+
field_dict["stop_after_all_iters_if"] = stop_after_all_iters_if
|
|
124
135
|
if sleep is not UNSET:
|
|
125
136
|
field_dict["sleep"] = sleep
|
|
126
137
|
if cache_ttl is not UNSET:
|
|
@@ -158,6 +169,9 @@ class GetFlowVersionResponse200ValueFailureModule:
|
|
|
158
169
|
from ..models.get_flow_version_response_200_value_failure_module_sleep_type_1 import (
|
|
159
170
|
GetFlowVersionResponse200ValueFailureModuleSleepType1,
|
|
160
171
|
)
|
|
172
|
+
from ..models.get_flow_version_response_200_value_failure_module_stop_after_all_iters_if import (
|
|
173
|
+
GetFlowVersionResponse200ValueFailureModuleStopAfterAllItersIf,
|
|
174
|
+
)
|
|
161
175
|
from ..models.get_flow_version_response_200_value_failure_module_stop_after_if import (
|
|
162
176
|
GetFlowVersionResponse200ValueFailureModuleStopAfterIf,
|
|
163
177
|
)
|
|
@@ -177,6 +191,15 @@ class GetFlowVersionResponse200ValueFailureModule:
|
|
|
177
191
|
else:
|
|
178
192
|
stop_after_if = GetFlowVersionResponse200ValueFailureModuleStopAfterIf.from_dict(_stop_after_if)
|
|
179
193
|
|
|
194
|
+
_stop_after_all_iters_if = d.pop("stop_after_all_iters_if", UNSET)
|
|
195
|
+
stop_after_all_iters_if: Union[Unset, GetFlowVersionResponse200ValueFailureModuleStopAfterAllItersIf]
|
|
196
|
+
if isinstance(_stop_after_all_iters_if, Unset):
|
|
197
|
+
stop_after_all_iters_if = UNSET
|
|
198
|
+
else:
|
|
199
|
+
stop_after_all_iters_if = GetFlowVersionResponse200ValueFailureModuleStopAfterAllItersIf.from_dict(
|
|
200
|
+
_stop_after_all_iters_if
|
|
201
|
+
)
|
|
202
|
+
|
|
180
203
|
def _parse_sleep(
|
|
181
204
|
data: object,
|
|
182
205
|
) -> Union[
|
|
@@ -249,6 +272,7 @@ class GetFlowVersionResponse200ValueFailureModule:
|
|
|
249
272
|
id=id,
|
|
250
273
|
value=value,
|
|
251
274
|
stop_after_if=stop_after_if,
|
|
275
|
+
stop_after_all_iters_if=stop_after_all_iters_if,
|
|
252
276
|
sleep=sleep,
|
|
253
277
|
cache_ttl=cache_ttl,
|
|
254
278
|
timeout=timeout,
|
windmill_api/models/get_flow_version_response_200_value_failure_module_stop_after_all_iters_if.py
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
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="GetFlowVersionResponse200ValueFailureModuleStopAfterAllItersIf")
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
@_attrs_define
|
|
12
|
+
class GetFlowVersionResponse200ValueFailureModuleStopAfterAllItersIf:
|
|
13
|
+
"""
|
|
14
|
+
Attributes:
|
|
15
|
+
expr (str):
|
|
16
|
+
skip_if_stopped (Union[Unset, bool]):
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
expr: str
|
|
20
|
+
skip_if_stopped: Union[Unset, bool] = UNSET
|
|
21
|
+
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
22
|
+
|
|
23
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
24
|
+
expr = self.expr
|
|
25
|
+
skip_if_stopped = self.skip_if_stopped
|
|
26
|
+
|
|
27
|
+
field_dict: Dict[str, Any] = {}
|
|
28
|
+
field_dict.update(self.additional_properties)
|
|
29
|
+
field_dict.update(
|
|
30
|
+
{
|
|
31
|
+
"expr": expr,
|
|
32
|
+
}
|
|
33
|
+
)
|
|
34
|
+
if skip_if_stopped is not UNSET:
|
|
35
|
+
field_dict["skip_if_stopped"] = skip_if_stopped
|
|
36
|
+
|
|
37
|
+
return field_dict
|
|
38
|
+
|
|
39
|
+
@classmethod
|
|
40
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
41
|
+
d = src_dict.copy()
|
|
42
|
+
expr = d.pop("expr")
|
|
43
|
+
|
|
44
|
+
skip_if_stopped = d.pop("skip_if_stopped", UNSET)
|
|
45
|
+
|
|
46
|
+
get_flow_version_response_200_value_failure_module_stop_after_all_iters_if = cls(
|
|
47
|
+
expr=expr,
|
|
48
|
+
skip_if_stopped=skip_if_stopped,
|
|
49
|
+
)
|
|
50
|
+
|
|
51
|
+
get_flow_version_response_200_value_failure_module_stop_after_all_iters_if.additional_properties = d
|
|
52
|
+
return get_flow_version_response_200_value_failure_module_stop_after_all_iters_if
|
|
53
|
+
|
|
54
|
+
@property
|
|
55
|
+
def additional_keys(self) -> List[str]:
|
|
56
|
+
return list(self.additional_properties.keys())
|
|
57
|
+
|
|
58
|
+
def __getitem__(self, key: str) -> Any:
|
|
59
|
+
return self.additional_properties[key]
|
|
60
|
+
|
|
61
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
62
|
+
self.additional_properties[key] = value
|
|
63
|
+
|
|
64
|
+
def __delitem__(self, key: str) -> None:
|
|
65
|
+
del self.additional_properties[key]
|
|
66
|
+
|
|
67
|
+
def __contains__(self, key: str) -> bool:
|
|
68
|
+
return key in self.additional_properties
|
|
@@ -18,6 +18,9 @@ if TYPE_CHECKING:
|
|
|
18
18
|
from ..models.get_flow_version_response_200_value_modules_item_sleep_type_1 import (
|
|
19
19
|
GetFlowVersionResponse200ValueModulesItemSleepType1,
|
|
20
20
|
)
|
|
21
|
+
from ..models.get_flow_version_response_200_value_modules_item_stop_after_all_iters_if import (
|
|
22
|
+
GetFlowVersionResponse200ValueModulesItemStopAfterAllItersIf,
|
|
23
|
+
)
|
|
21
24
|
from ..models.get_flow_version_response_200_value_modules_item_stop_after_if import (
|
|
22
25
|
GetFlowVersionResponse200ValueModulesItemStopAfterIf,
|
|
23
26
|
)
|
|
@@ -36,6 +39,7 @@ class GetFlowVersionResponse200ValueModulesItem:
|
|
|
36
39
|
id (str):
|
|
37
40
|
value (Any):
|
|
38
41
|
stop_after_if (Union[Unset, GetFlowVersionResponse200ValueModulesItemStopAfterIf]):
|
|
42
|
+
stop_after_all_iters_if (Union[Unset, GetFlowVersionResponse200ValueModulesItemStopAfterAllItersIf]):
|
|
39
43
|
sleep (Union['GetFlowVersionResponse200ValueModulesItemSleepType0',
|
|
40
44
|
'GetFlowVersionResponse200ValueModulesItemSleepType1', Unset]):
|
|
41
45
|
cache_ttl (Union[Unset, float]):
|
|
@@ -52,6 +56,7 @@ class GetFlowVersionResponse200ValueModulesItem:
|
|
|
52
56
|
id: str
|
|
53
57
|
value: Any
|
|
54
58
|
stop_after_if: Union[Unset, "GetFlowVersionResponse200ValueModulesItemStopAfterIf"] = UNSET
|
|
59
|
+
stop_after_all_iters_if: Union[Unset, "GetFlowVersionResponse200ValueModulesItemStopAfterAllItersIf"] = UNSET
|
|
55
60
|
sleep: Union[
|
|
56
61
|
"GetFlowVersionResponse200ValueModulesItemSleepType0",
|
|
57
62
|
"GetFlowVersionResponse200ValueModulesItemSleepType1",
|
|
@@ -79,6 +84,10 @@ class GetFlowVersionResponse200ValueModulesItem:
|
|
|
79
84
|
if not isinstance(self.stop_after_if, Unset):
|
|
80
85
|
stop_after_if = self.stop_after_if.to_dict()
|
|
81
86
|
|
|
87
|
+
stop_after_all_iters_if: Union[Unset, Dict[str, Any]] = UNSET
|
|
88
|
+
if not isinstance(self.stop_after_all_iters_if, Unset):
|
|
89
|
+
stop_after_all_iters_if = self.stop_after_all_iters_if.to_dict()
|
|
90
|
+
|
|
82
91
|
sleep: Union[Dict[str, Any], Unset]
|
|
83
92
|
if isinstance(self.sleep, Unset):
|
|
84
93
|
sleep = UNSET
|
|
@@ -121,6 +130,8 @@ class GetFlowVersionResponse200ValueModulesItem:
|
|
|
121
130
|
)
|
|
122
131
|
if stop_after_if is not UNSET:
|
|
123
132
|
field_dict["stop_after_if"] = stop_after_if
|
|
133
|
+
if stop_after_all_iters_if is not UNSET:
|
|
134
|
+
field_dict["stop_after_all_iters_if"] = stop_after_all_iters_if
|
|
124
135
|
if sleep is not UNSET:
|
|
125
136
|
field_dict["sleep"] = sleep
|
|
126
137
|
if cache_ttl is not UNSET:
|
|
@@ -158,6 +169,9 @@ class GetFlowVersionResponse200ValueModulesItem:
|
|
|
158
169
|
from ..models.get_flow_version_response_200_value_modules_item_sleep_type_1 import (
|
|
159
170
|
GetFlowVersionResponse200ValueModulesItemSleepType1,
|
|
160
171
|
)
|
|
172
|
+
from ..models.get_flow_version_response_200_value_modules_item_stop_after_all_iters_if import (
|
|
173
|
+
GetFlowVersionResponse200ValueModulesItemStopAfterAllItersIf,
|
|
174
|
+
)
|
|
161
175
|
from ..models.get_flow_version_response_200_value_modules_item_stop_after_if import (
|
|
162
176
|
GetFlowVersionResponse200ValueModulesItemStopAfterIf,
|
|
163
177
|
)
|
|
@@ -177,6 +191,15 @@ class GetFlowVersionResponse200ValueModulesItem:
|
|
|
177
191
|
else:
|
|
178
192
|
stop_after_if = GetFlowVersionResponse200ValueModulesItemStopAfterIf.from_dict(_stop_after_if)
|
|
179
193
|
|
|
194
|
+
_stop_after_all_iters_if = d.pop("stop_after_all_iters_if", UNSET)
|
|
195
|
+
stop_after_all_iters_if: Union[Unset, GetFlowVersionResponse200ValueModulesItemStopAfterAllItersIf]
|
|
196
|
+
if isinstance(_stop_after_all_iters_if, Unset):
|
|
197
|
+
stop_after_all_iters_if = UNSET
|
|
198
|
+
else:
|
|
199
|
+
stop_after_all_iters_if = GetFlowVersionResponse200ValueModulesItemStopAfterAllItersIf.from_dict(
|
|
200
|
+
_stop_after_all_iters_if
|
|
201
|
+
)
|
|
202
|
+
|
|
180
203
|
def _parse_sleep(
|
|
181
204
|
data: object,
|
|
182
205
|
) -> Union[
|
|
@@ -249,6 +272,7 @@ class GetFlowVersionResponse200ValueModulesItem:
|
|
|
249
272
|
id=id,
|
|
250
273
|
value=value,
|
|
251
274
|
stop_after_if=stop_after_if,
|
|
275
|
+
stop_after_all_iters_if=stop_after_all_iters_if,
|
|
252
276
|
sleep=sleep,
|
|
253
277
|
cache_ttl=cache_ttl,
|
|
254
278
|
timeout=timeout,
|
windmill_api/models/get_flow_version_response_200_value_modules_item_stop_after_all_iters_if.py
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
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="GetFlowVersionResponse200ValueModulesItemStopAfterAllItersIf")
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
@_attrs_define
|
|
12
|
+
class GetFlowVersionResponse200ValueModulesItemStopAfterAllItersIf:
|
|
13
|
+
"""
|
|
14
|
+
Attributes:
|
|
15
|
+
expr (str):
|
|
16
|
+
skip_if_stopped (Union[Unset, bool]):
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
expr: str
|
|
20
|
+
skip_if_stopped: Union[Unset, bool] = UNSET
|
|
21
|
+
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
22
|
+
|
|
23
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
24
|
+
expr = self.expr
|
|
25
|
+
skip_if_stopped = self.skip_if_stopped
|
|
26
|
+
|
|
27
|
+
field_dict: Dict[str, Any] = {}
|
|
28
|
+
field_dict.update(self.additional_properties)
|
|
29
|
+
field_dict.update(
|
|
30
|
+
{
|
|
31
|
+
"expr": expr,
|
|
32
|
+
}
|
|
33
|
+
)
|
|
34
|
+
if skip_if_stopped is not UNSET:
|
|
35
|
+
field_dict["skip_if_stopped"] = skip_if_stopped
|
|
36
|
+
|
|
37
|
+
return field_dict
|
|
38
|
+
|
|
39
|
+
@classmethod
|
|
40
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
41
|
+
d = src_dict.copy()
|
|
42
|
+
expr = d.pop("expr")
|
|
43
|
+
|
|
44
|
+
skip_if_stopped = d.pop("skip_if_stopped", UNSET)
|
|
45
|
+
|
|
46
|
+
get_flow_version_response_200_value_modules_item_stop_after_all_iters_if = cls(
|
|
47
|
+
expr=expr,
|
|
48
|
+
skip_if_stopped=skip_if_stopped,
|
|
49
|
+
)
|
|
50
|
+
|
|
51
|
+
get_flow_version_response_200_value_modules_item_stop_after_all_iters_if.additional_properties = d
|
|
52
|
+
return get_flow_version_response_200_value_modules_item_stop_after_all_iters_if
|
|
53
|
+
|
|
54
|
+
@property
|
|
55
|
+
def additional_keys(self) -> List[str]:
|
|
56
|
+
return list(self.additional_properties.keys())
|
|
57
|
+
|
|
58
|
+
def __getitem__(self, key: str) -> Any:
|
|
59
|
+
return self.additional_properties[key]
|
|
60
|
+
|
|
61
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
62
|
+
self.additional_properties[key] = value
|
|
63
|
+
|
|
64
|
+
def __delitem__(self, key: str) -> None:
|
|
65
|
+
del self.additional_properties[key]
|
|
66
|
+
|
|
67
|
+
def __contains__(self, key: str) -> bool:
|
|
68
|
+
return key in self.additional_properties
|
|
@@ -18,6 +18,9 @@ if TYPE_CHECKING:
|
|
|
18
18
|
from ..models.get_hub_flow_by_id_response_200_flow_value_failure_module_sleep_type_1 import (
|
|
19
19
|
GetHubFlowByIdResponse200FlowValueFailureModuleSleepType1,
|
|
20
20
|
)
|
|
21
|
+
from ..models.get_hub_flow_by_id_response_200_flow_value_failure_module_stop_after_all_iters_if import (
|
|
22
|
+
GetHubFlowByIdResponse200FlowValueFailureModuleStopAfterAllItersIf,
|
|
23
|
+
)
|
|
21
24
|
from ..models.get_hub_flow_by_id_response_200_flow_value_failure_module_stop_after_if import (
|
|
22
25
|
GetHubFlowByIdResponse200FlowValueFailureModuleStopAfterIf,
|
|
23
26
|
)
|
|
@@ -36,6 +39,7 @@ class GetHubFlowByIdResponse200FlowValueFailureModule:
|
|
|
36
39
|
id (str):
|
|
37
40
|
value (Any):
|
|
38
41
|
stop_after_if (Union[Unset, GetHubFlowByIdResponse200FlowValueFailureModuleStopAfterIf]):
|
|
42
|
+
stop_after_all_iters_if (Union[Unset, GetHubFlowByIdResponse200FlowValueFailureModuleStopAfterAllItersIf]):
|
|
39
43
|
sleep (Union['GetHubFlowByIdResponse200FlowValueFailureModuleSleepType0',
|
|
40
44
|
'GetHubFlowByIdResponse200FlowValueFailureModuleSleepType1', Unset]):
|
|
41
45
|
cache_ttl (Union[Unset, float]):
|
|
@@ -52,6 +56,7 @@ class GetHubFlowByIdResponse200FlowValueFailureModule:
|
|
|
52
56
|
id: str
|
|
53
57
|
value: Any
|
|
54
58
|
stop_after_if: Union[Unset, "GetHubFlowByIdResponse200FlowValueFailureModuleStopAfterIf"] = UNSET
|
|
59
|
+
stop_after_all_iters_if: Union[Unset, "GetHubFlowByIdResponse200FlowValueFailureModuleStopAfterAllItersIf"] = UNSET
|
|
55
60
|
sleep: Union[
|
|
56
61
|
"GetHubFlowByIdResponse200FlowValueFailureModuleSleepType0",
|
|
57
62
|
"GetHubFlowByIdResponse200FlowValueFailureModuleSleepType1",
|
|
@@ -79,6 +84,10 @@ class GetHubFlowByIdResponse200FlowValueFailureModule:
|
|
|
79
84
|
if not isinstance(self.stop_after_if, Unset):
|
|
80
85
|
stop_after_if = self.stop_after_if.to_dict()
|
|
81
86
|
|
|
87
|
+
stop_after_all_iters_if: Union[Unset, Dict[str, Any]] = UNSET
|
|
88
|
+
if not isinstance(self.stop_after_all_iters_if, Unset):
|
|
89
|
+
stop_after_all_iters_if = self.stop_after_all_iters_if.to_dict()
|
|
90
|
+
|
|
82
91
|
sleep: Union[Dict[str, Any], Unset]
|
|
83
92
|
if isinstance(self.sleep, Unset):
|
|
84
93
|
sleep = UNSET
|
|
@@ -121,6 +130,8 @@ class GetHubFlowByIdResponse200FlowValueFailureModule:
|
|
|
121
130
|
)
|
|
122
131
|
if stop_after_if is not UNSET:
|
|
123
132
|
field_dict["stop_after_if"] = stop_after_if
|
|
133
|
+
if stop_after_all_iters_if is not UNSET:
|
|
134
|
+
field_dict["stop_after_all_iters_if"] = stop_after_all_iters_if
|
|
124
135
|
if sleep is not UNSET:
|
|
125
136
|
field_dict["sleep"] = sleep
|
|
126
137
|
if cache_ttl is not UNSET:
|
|
@@ -158,6 +169,9 @@ class GetHubFlowByIdResponse200FlowValueFailureModule:
|
|
|
158
169
|
from ..models.get_hub_flow_by_id_response_200_flow_value_failure_module_sleep_type_1 import (
|
|
159
170
|
GetHubFlowByIdResponse200FlowValueFailureModuleSleepType1,
|
|
160
171
|
)
|
|
172
|
+
from ..models.get_hub_flow_by_id_response_200_flow_value_failure_module_stop_after_all_iters_if import (
|
|
173
|
+
GetHubFlowByIdResponse200FlowValueFailureModuleStopAfterAllItersIf,
|
|
174
|
+
)
|
|
161
175
|
from ..models.get_hub_flow_by_id_response_200_flow_value_failure_module_stop_after_if import (
|
|
162
176
|
GetHubFlowByIdResponse200FlowValueFailureModuleStopAfterIf,
|
|
163
177
|
)
|
|
@@ -177,6 +191,15 @@ class GetHubFlowByIdResponse200FlowValueFailureModule:
|
|
|
177
191
|
else:
|
|
178
192
|
stop_after_if = GetHubFlowByIdResponse200FlowValueFailureModuleStopAfterIf.from_dict(_stop_after_if)
|
|
179
193
|
|
|
194
|
+
_stop_after_all_iters_if = d.pop("stop_after_all_iters_if", UNSET)
|
|
195
|
+
stop_after_all_iters_if: Union[Unset, GetHubFlowByIdResponse200FlowValueFailureModuleStopAfterAllItersIf]
|
|
196
|
+
if isinstance(_stop_after_all_iters_if, Unset):
|
|
197
|
+
stop_after_all_iters_if = UNSET
|
|
198
|
+
else:
|
|
199
|
+
stop_after_all_iters_if = GetHubFlowByIdResponse200FlowValueFailureModuleStopAfterAllItersIf.from_dict(
|
|
200
|
+
_stop_after_all_iters_if
|
|
201
|
+
)
|
|
202
|
+
|
|
180
203
|
def _parse_sleep(
|
|
181
204
|
data: object,
|
|
182
205
|
) -> Union[
|
|
@@ -249,6 +272,7 @@ class GetHubFlowByIdResponse200FlowValueFailureModule:
|
|
|
249
272
|
id=id,
|
|
250
273
|
value=value,
|
|
251
274
|
stop_after_if=stop_after_if,
|
|
275
|
+
stop_after_all_iters_if=stop_after_all_iters_if,
|
|
252
276
|
sleep=sleep,
|
|
253
277
|
cache_ttl=cache_ttl,
|
|
254
278
|
timeout=timeout,
|
|
@@ -0,0 +1,68 @@
|
|
|
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="GetHubFlowByIdResponse200FlowValueFailureModuleStopAfterAllItersIf")
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
@_attrs_define
|
|
12
|
+
class GetHubFlowByIdResponse200FlowValueFailureModuleStopAfterAllItersIf:
|
|
13
|
+
"""
|
|
14
|
+
Attributes:
|
|
15
|
+
expr (str):
|
|
16
|
+
skip_if_stopped (Union[Unset, bool]):
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
expr: str
|
|
20
|
+
skip_if_stopped: Union[Unset, bool] = UNSET
|
|
21
|
+
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
22
|
+
|
|
23
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
24
|
+
expr = self.expr
|
|
25
|
+
skip_if_stopped = self.skip_if_stopped
|
|
26
|
+
|
|
27
|
+
field_dict: Dict[str, Any] = {}
|
|
28
|
+
field_dict.update(self.additional_properties)
|
|
29
|
+
field_dict.update(
|
|
30
|
+
{
|
|
31
|
+
"expr": expr,
|
|
32
|
+
}
|
|
33
|
+
)
|
|
34
|
+
if skip_if_stopped is not UNSET:
|
|
35
|
+
field_dict["skip_if_stopped"] = skip_if_stopped
|
|
36
|
+
|
|
37
|
+
return field_dict
|
|
38
|
+
|
|
39
|
+
@classmethod
|
|
40
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
41
|
+
d = src_dict.copy()
|
|
42
|
+
expr = d.pop("expr")
|
|
43
|
+
|
|
44
|
+
skip_if_stopped = d.pop("skip_if_stopped", UNSET)
|
|
45
|
+
|
|
46
|
+
get_hub_flow_by_id_response_200_flow_value_failure_module_stop_after_all_iters_if = cls(
|
|
47
|
+
expr=expr,
|
|
48
|
+
skip_if_stopped=skip_if_stopped,
|
|
49
|
+
)
|
|
50
|
+
|
|
51
|
+
get_hub_flow_by_id_response_200_flow_value_failure_module_stop_after_all_iters_if.additional_properties = d
|
|
52
|
+
return get_hub_flow_by_id_response_200_flow_value_failure_module_stop_after_all_iters_if
|
|
53
|
+
|
|
54
|
+
@property
|
|
55
|
+
def additional_keys(self) -> List[str]:
|
|
56
|
+
return list(self.additional_properties.keys())
|
|
57
|
+
|
|
58
|
+
def __getitem__(self, key: str) -> Any:
|
|
59
|
+
return self.additional_properties[key]
|
|
60
|
+
|
|
61
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
62
|
+
self.additional_properties[key] = value
|
|
63
|
+
|
|
64
|
+
def __delitem__(self, key: str) -> None:
|
|
65
|
+
del self.additional_properties[key]
|
|
66
|
+
|
|
67
|
+
def __contains__(self, key: str) -> bool:
|
|
68
|
+
return key in self.additional_properties
|
|
@@ -18,6 +18,9 @@ if TYPE_CHECKING:
|
|
|
18
18
|
from ..models.get_hub_flow_by_id_response_200_flow_value_modules_item_sleep_type_1 import (
|
|
19
19
|
GetHubFlowByIdResponse200FlowValueModulesItemSleepType1,
|
|
20
20
|
)
|
|
21
|
+
from ..models.get_hub_flow_by_id_response_200_flow_value_modules_item_stop_after_all_iters_if import (
|
|
22
|
+
GetHubFlowByIdResponse200FlowValueModulesItemStopAfterAllItersIf,
|
|
23
|
+
)
|
|
21
24
|
from ..models.get_hub_flow_by_id_response_200_flow_value_modules_item_stop_after_if import (
|
|
22
25
|
GetHubFlowByIdResponse200FlowValueModulesItemStopAfterIf,
|
|
23
26
|
)
|
|
@@ -36,6 +39,7 @@ class GetHubFlowByIdResponse200FlowValueModulesItem:
|
|
|
36
39
|
id (str):
|
|
37
40
|
value (Any):
|
|
38
41
|
stop_after_if (Union[Unset, GetHubFlowByIdResponse200FlowValueModulesItemStopAfterIf]):
|
|
42
|
+
stop_after_all_iters_if (Union[Unset, GetHubFlowByIdResponse200FlowValueModulesItemStopAfterAllItersIf]):
|
|
39
43
|
sleep (Union['GetHubFlowByIdResponse200FlowValueModulesItemSleepType0',
|
|
40
44
|
'GetHubFlowByIdResponse200FlowValueModulesItemSleepType1', Unset]):
|
|
41
45
|
cache_ttl (Union[Unset, float]):
|
|
@@ -52,6 +56,7 @@ class GetHubFlowByIdResponse200FlowValueModulesItem:
|
|
|
52
56
|
id: str
|
|
53
57
|
value: Any
|
|
54
58
|
stop_after_if: Union[Unset, "GetHubFlowByIdResponse200FlowValueModulesItemStopAfterIf"] = UNSET
|
|
59
|
+
stop_after_all_iters_if: Union[Unset, "GetHubFlowByIdResponse200FlowValueModulesItemStopAfterAllItersIf"] = UNSET
|
|
55
60
|
sleep: Union[
|
|
56
61
|
"GetHubFlowByIdResponse200FlowValueModulesItemSleepType0",
|
|
57
62
|
"GetHubFlowByIdResponse200FlowValueModulesItemSleepType1",
|
|
@@ -79,6 +84,10 @@ class GetHubFlowByIdResponse200FlowValueModulesItem:
|
|
|
79
84
|
if not isinstance(self.stop_after_if, Unset):
|
|
80
85
|
stop_after_if = self.stop_after_if.to_dict()
|
|
81
86
|
|
|
87
|
+
stop_after_all_iters_if: Union[Unset, Dict[str, Any]] = UNSET
|
|
88
|
+
if not isinstance(self.stop_after_all_iters_if, Unset):
|
|
89
|
+
stop_after_all_iters_if = self.stop_after_all_iters_if.to_dict()
|
|
90
|
+
|
|
82
91
|
sleep: Union[Dict[str, Any], Unset]
|
|
83
92
|
if isinstance(self.sleep, Unset):
|
|
84
93
|
sleep = UNSET
|
|
@@ -121,6 +130,8 @@ class GetHubFlowByIdResponse200FlowValueModulesItem:
|
|
|
121
130
|
)
|
|
122
131
|
if stop_after_if is not UNSET:
|
|
123
132
|
field_dict["stop_after_if"] = stop_after_if
|
|
133
|
+
if stop_after_all_iters_if is not UNSET:
|
|
134
|
+
field_dict["stop_after_all_iters_if"] = stop_after_all_iters_if
|
|
124
135
|
if sleep is not UNSET:
|
|
125
136
|
field_dict["sleep"] = sleep
|
|
126
137
|
if cache_ttl is not UNSET:
|
|
@@ -158,6 +169,9 @@ class GetHubFlowByIdResponse200FlowValueModulesItem:
|
|
|
158
169
|
from ..models.get_hub_flow_by_id_response_200_flow_value_modules_item_sleep_type_1 import (
|
|
159
170
|
GetHubFlowByIdResponse200FlowValueModulesItemSleepType1,
|
|
160
171
|
)
|
|
172
|
+
from ..models.get_hub_flow_by_id_response_200_flow_value_modules_item_stop_after_all_iters_if import (
|
|
173
|
+
GetHubFlowByIdResponse200FlowValueModulesItemStopAfterAllItersIf,
|
|
174
|
+
)
|
|
161
175
|
from ..models.get_hub_flow_by_id_response_200_flow_value_modules_item_stop_after_if import (
|
|
162
176
|
GetHubFlowByIdResponse200FlowValueModulesItemStopAfterIf,
|
|
163
177
|
)
|
|
@@ -177,6 +191,15 @@ class GetHubFlowByIdResponse200FlowValueModulesItem:
|
|
|
177
191
|
else:
|
|
178
192
|
stop_after_if = GetHubFlowByIdResponse200FlowValueModulesItemStopAfterIf.from_dict(_stop_after_if)
|
|
179
193
|
|
|
194
|
+
_stop_after_all_iters_if = d.pop("stop_after_all_iters_if", UNSET)
|
|
195
|
+
stop_after_all_iters_if: Union[Unset, GetHubFlowByIdResponse200FlowValueModulesItemStopAfterAllItersIf]
|
|
196
|
+
if isinstance(_stop_after_all_iters_if, Unset):
|
|
197
|
+
stop_after_all_iters_if = UNSET
|
|
198
|
+
else:
|
|
199
|
+
stop_after_all_iters_if = GetHubFlowByIdResponse200FlowValueModulesItemStopAfterAllItersIf.from_dict(
|
|
200
|
+
_stop_after_all_iters_if
|
|
201
|
+
)
|
|
202
|
+
|
|
180
203
|
def _parse_sleep(
|
|
181
204
|
data: object,
|
|
182
205
|
) -> Union[
|
|
@@ -249,6 +272,7 @@ class GetHubFlowByIdResponse200FlowValueModulesItem:
|
|
|
249
272
|
id=id,
|
|
250
273
|
value=value,
|
|
251
274
|
stop_after_if=stop_after_if,
|
|
275
|
+
stop_after_all_iters_if=stop_after_all_iters_if,
|
|
252
276
|
sleep=sleep,
|
|
253
277
|
cache_ttl=cache_ttl,
|
|
254
278
|
timeout=timeout,
|