windmill-api 1.394.6__py3-none-any.whl → 1.396.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/get_job_updates.py +15 -0
- windmill_api/api/metrics/get_job_progress.py +160 -0
- windmill_api/api/metrics/set_job_progress.py +115 -0
- windmill_api/models/completed_job_flow_status_failure_module.py +8 -0
- windmill_api/models/completed_job_flow_status_modules_item.py +8 -0
- windmill_api/models/delete_completed_job_response_200_flow_status_failure_module.py +8 -0
- windmill_api/models/delete_completed_job_response_200_flow_status_modules_item.py +8 -0
- windmill_api/models/extended_jobs_jobs_item_type_0_flow_status_failure_module.py +8 -0
- windmill_api/models/extended_jobs_jobs_item_type_0_flow_status_modules_item.py +8 -0
- windmill_api/models/extended_jobs_jobs_item_type_1_flow_status_failure_module.py +8 -0
- windmill_api/models/extended_jobs_jobs_item_type_1_flow_status_modules_item.py +8 -0
- windmill_api/models/flow_status_failure_module.py +8 -0
- windmill_api/models/flow_status_module.py +8 -0
- windmill_api/models/flow_status_modules_item.py +8 -0
- windmill_api/models/get_completed_job_response_200_flow_status_failure_module.py +8 -0
- windmill_api/models/get_completed_job_response_200_flow_status_modules_item.py +8 -0
- windmill_api/models/get_job_response_200_type_0_flow_status_failure_module.py +8 -0
- windmill_api/models/get_job_response_200_type_0_flow_status_modules_item.py +8 -0
- windmill_api/models/get_job_response_200_type_1_flow_status_failure_module.py +8 -0
- windmill_api/models/get_job_response_200_type_1_flow_status_modules_item.py +8 -0
- windmill_api/models/get_job_updates_response_200.py +8 -0
- windmill_api/models/get_suspended_job_flow_response_200_job_type_0_flow_status_failure_module.py +8 -0
- windmill_api/models/get_suspended_job_flow_response_200_job_type_0_flow_status_modules_item.py +8 -0
- windmill_api/models/get_suspended_job_flow_response_200_job_type_1_flow_status_failure_module.py +8 -0
- windmill_api/models/get_suspended_job_flow_response_200_job_type_1_flow_status_modules_item.py +8 -0
- windmill_api/models/list_completed_jobs_response_200_item_flow_status_failure_module.py +8 -0
- windmill_api/models/list_completed_jobs_response_200_item_flow_status_modules_item.py +8 -0
- windmill_api/models/list_extended_jobs_response_200_jobs_item_type_0_flow_status_failure_module.py +8 -0
- windmill_api/models/list_extended_jobs_response_200_jobs_item_type_0_flow_status_modules_item.py +8 -0
- windmill_api/models/list_extended_jobs_response_200_jobs_item_type_1_flow_status_failure_module.py +8 -0
- windmill_api/models/list_extended_jobs_response_200_jobs_item_type_1_flow_status_modules_item.py +8 -0
- windmill_api/models/list_jobs_response_200_item_type_0_flow_status_failure_module.py +8 -0
- windmill_api/models/list_jobs_response_200_item_type_0_flow_status_modules_item.py +8 -0
- windmill_api/models/list_jobs_response_200_item_type_1_flow_status_failure_module.py +8 -0
- windmill_api/models/list_jobs_response_200_item_type_1_flow_status_modules_item.py +8 -0
- windmill_api/models/list_queue_response_200_item_flow_status_failure_module.py +8 -0
- windmill_api/models/list_queue_response_200_item_flow_status_modules_item.py +8 -0
- windmill_api/models/queued_job_flow_status_failure_module.py +8 -0
- windmill_api/models/queued_job_flow_status_modules_item.py +8 -0
- windmill_api/models/set_job_progress_json_body.py +66 -0
- {windmill_api-1.394.6.dist-info → windmill_api-1.396.0.dist-info}/METADATA +1 -1
- {windmill_api-1.394.6.dist-info → windmill_api-1.396.0.dist-info}/RECORD +44 -41
- {windmill_api-1.394.6.dist-info → windmill_api-1.396.0.dist-info}/LICENSE +0 -0
- {windmill_api-1.394.6.dist-info → windmill_api-1.396.0.dist-info}/WHEEL +0 -0
|
@@ -15,6 +15,7 @@ def _get_kwargs(
|
|
|
15
15
|
*,
|
|
16
16
|
running: Union[Unset, None, bool] = UNSET,
|
|
17
17
|
log_offset: Union[Unset, None, int] = UNSET,
|
|
18
|
+
get_progress: Union[Unset, None, bool] = UNSET,
|
|
18
19
|
) -> Dict[str, Any]:
|
|
19
20
|
pass
|
|
20
21
|
|
|
@@ -23,6 +24,8 @@ def _get_kwargs(
|
|
|
23
24
|
|
|
24
25
|
params["log_offset"] = log_offset
|
|
25
26
|
|
|
27
|
+
params["get_progress"] = get_progress
|
|
28
|
+
|
|
26
29
|
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
27
30
|
|
|
28
31
|
return {
|
|
@@ -66,6 +69,7 @@ def sync_detailed(
|
|
|
66
69
|
client: Union[AuthenticatedClient, Client],
|
|
67
70
|
running: Union[Unset, None, bool] = UNSET,
|
|
68
71
|
log_offset: Union[Unset, None, int] = UNSET,
|
|
72
|
+
get_progress: Union[Unset, None, bool] = UNSET,
|
|
69
73
|
) -> Response[GetJobUpdatesResponse200]:
|
|
70
74
|
"""get job updates
|
|
71
75
|
|
|
@@ -74,6 +78,7 @@ def sync_detailed(
|
|
|
74
78
|
id (str):
|
|
75
79
|
running (Union[Unset, None, bool]):
|
|
76
80
|
log_offset (Union[Unset, None, int]):
|
|
81
|
+
get_progress (Union[Unset, None, bool]):
|
|
77
82
|
|
|
78
83
|
Raises:
|
|
79
84
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -88,6 +93,7 @@ def sync_detailed(
|
|
|
88
93
|
id=id,
|
|
89
94
|
running=running,
|
|
90
95
|
log_offset=log_offset,
|
|
96
|
+
get_progress=get_progress,
|
|
91
97
|
)
|
|
92
98
|
|
|
93
99
|
response = client.get_httpx_client().request(
|
|
@@ -104,6 +110,7 @@ def sync(
|
|
|
104
110
|
client: Union[AuthenticatedClient, Client],
|
|
105
111
|
running: Union[Unset, None, bool] = UNSET,
|
|
106
112
|
log_offset: Union[Unset, None, int] = UNSET,
|
|
113
|
+
get_progress: Union[Unset, None, bool] = UNSET,
|
|
107
114
|
) -> Optional[GetJobUpdatesResponse200]:
|
|
108
115
|
"""get job updates
|
|
109
116
|
|
|
@@ -112,6 +119,7 @@ def sync(
|
|
|
112
119
|
id (str):
|
|
113
120
|
running (Union[Unset, None, bool]):
|
|
114
121
|
log_offset (Union[Unset, None, int]):
|
|
122
|
+
get_progress (Union[Unset, None, bool]):
|
|
115
123
|
|
|
116
124
|
Raises:
|
|
117
125
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -127,6 +135,7 @@ def sync(
|
|
|
127
135
|
client=client,
|
|
128
136
|
running=running,
|
|
129
137
|
log_offset=log_offset,
|
|
138
|
+
get_progress=get_progress,
|
|
130
139
|
).parsed
|
|
131
140
|
|
|
132
141
|
|
|
@@ -137,6 +146,7 @@ async def asyncio_detailed(
|
|
|
137
146
|
client: Union[AuthenticatedClient, Client],
|
|
138
147
|
running: Union[Unset, None, bool] = UNSET,
|
|
139
148
|
log_offset: Union[Unset, None, int] = UNSET,
|
|
149
|
+
get_progress: Union[Unset, None, bool] = UNSET,
|
|
140
150
|
) -> Response[GetJobUpdatesResponse200]:
|
|
141
151
|
"""get job updates
|
|
142
152
|
|
|
@@ -145,6 +155,7 @@ async def asyncio_detailed(
|
|
|
145
155
|
id (str):
|
|
146
156
|
running (Union[Unset, None, bool]):
|
|
147
157
|
log_offset (Union[Unset, None, int]):
|
|
158
|
+
get_progress (Union[Unset, None, bool]):
|
|
148
159
|
|
|
149
160
|
Raises:
|
|
150
161
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -159,6 +170,7 @@ async def asyncio_detailed(
|
|
|
159
170
|
id=id,
|
|
160
171
|
running=running,
|
|
161
172
|
log_offset=log_offset,
|
|
173
|
+
get_progress=get_progress,
|
|
162
174
|
)
|
|
163
175
|
|
|
164
176
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -173,6 +185,7 @@ async def asyncio(
|
|
|
173
185
|
client: Union[AuthenticatedClient, Client],
|
|
174
186
|
running: Union[Unset, None, bool] = UNSET,
|
|
175
187
|
log_offset: Union[Unset, None, int] = UNSET,
|
|
188
|
+
get_progress: Union[Unset, None, bool] = UNSET,
|
|
176
189
|
) -> Optional[GetJobUpdatesResponse200]:
|
|
177
190
|
"""get job updates
|
|
178
191
|
|
|
@@ -181,6 +194,7 @@ async def asyncio(
|
|
|
181
194
|
id (str):
|
|
182
195
|
running (Union[Unset, None, bool]):
|
|
183
196
|
log_offset (Union[Unset, None, int]):
|
|
197
|
+
get_progress (Union[Unset, None, bool]):
|
|
184
198
|
|
|
185
199
|
Raises:
|
|
186
200
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -197,5 +211,6 @@ async def asyncio(
|
|
|
197
211
|
client=client,
|
|
198
212
|
running=running,
|
|
199
213
|
log_offset=log_offset,
|
|
214
|
+
get_progress=get_progress,
|
|
200
215
|
)
|
|
201
216
|
).parsed
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
from http import HTTPStatus
|
|
2
|
+
from typing import Any, Dict, Optional, Union, cast
|
|
3
|
+
|
|
4
|
+
import httpx
|
|
5
|
+
|
|
6
|
+
from ... import errors
|
|
7
|
+
from ...client import AuthenticatedClient, Client
|
|
8
|
+
from ...types import Response
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
def _get_kwargs(
|
|
12
|
+
workspace: str,
|
|
13
|
+
id: str,
|
|
14
|
+
) -> Dict[str, Any]:
|
|
15
|
+
pass
|
|
16
|
+
|
|
17
|
+
return {
|
|
18
|
+
"method": "get",
|
|
19
|
+
"url": "/w/{workspace}/job_metrics/get_progress/{id}".format(
|
|
20
|
+
workspace=workspace,
|
|
21
|
+
id=id,
|
|
22
|
+
),
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Optional[int]:
|
|
27
|
+
if response.status_code == HTTPStatus.OK:
|
|
28
|
+
response_200 = cast(int, response.json())
|
|
29
|
+
return response_200
|
|
30
|
+
if client.raise_on_unexpected_status:
|
|
31
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
32
|
+
else:
|
|
33
|
+
return None
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
def _build_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Response[int]:
|
|
37
|
+
return Response(
|
|
38
|
+
status_code=HTTPStatus(response.status_code),
|
|
39
|
+
content=response.content,
|
|
40
|
+
headers=response.headers,
|
|
41
|
+
parsed=_parse_response(client=client, response=response),
|
|
42
|
+
)
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
def sync_detailed(
|
|
46
|
+
workspace: str,
|
|
47
|
+
id: str,
|
|
48
|
+
*,
|
|
49
|
+
client: Union[AuthenticatedClient, Client],
|
|
50
|
+
) -> Response[int]:
|
|
51
|
+
"""get job progress
|
|
52
|
+
|
|
53
|
+
Args:
|
|
54
|
+
workspace (str):
|
|
55
|
+
id (str):
|
|
56
|
+
|
|
57
|
+
Raises:
|
|
58
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
59
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
60
|
+
|
|
61
|
+
Returns:
|
|
62
|
+
Response[int]
|
|
63
|
+
"""
|
|
64
|
+
|
|
65
|
+
kwargs = _get_kwargs(
|
|
66
|
+
workspace=workspace,
|
|
67
|
+
id=id,
|
|
68
|
+
)
|
|
69
|
+
|
|
70
|
+
response = client.get_httpx_client().request(
|
|
71
|
+
**kwargs,
|
|
72
|
+
)
|
|
73
|
+
|
|
74
|
+
return _build_response(client=client, response=response)
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
def sync(
|
|
78
|
+
workspace: str,
|
|
79
|
+
id: str,
|
|
80
|
+
*,
|
|
81
|
+
client: Union[AuthenticatedClient, Client],
|
|
82
|
+
) -> Optional[int]:
|
|
83
|
+
"""get job progress
|
|
84
|
+
|
|
85
|
+
Args:
|
|
86
|
+
workspace (str):
|
|
87
|
+
id (str):
|
|
88
|
+
|
|
89
|
+
Raises:
|
|
90
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
91
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
92
|
+
|
|
93
|
+
Returns:
|
|
94
|
+
int
|
|
95
|
+
"""
|
|
96
|
+
|
|
97
|
+
return sync_detailed(
|
|
98
|
+
workspace=workspace,
|
|
99
|
+
id=id,
|
|
100
|
+
client=client,
|
|
101
|
+
).parsed
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
async def asyncio_detailed(
|
|
105
|
+
workspace: str,
|
|
106
|
+
id: str,
|
|
107
|
+
*,
|
|
108
|
+
client: Union[AuthenticatedClient, Client],
|
|
109
|
+
) -> Response[int]:
|
|
110
|
+
"""get job progress
|
|
111
|
+
|
|
112
|
+
Args:
|
|
113
|
+
workspace (str):
|
|
114
|
+
id (str):
|
|
115
|
+
|
|
116
|
+
Raises:
|
|
117
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
118
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
119
|
+
|
|
120
|
+
Returns:
|
|
121
|
+
Response[int]
|
|
122
|
+
"""
|
|
123
|
+
|
|
124
|
+
kwargs = _get_kwargs(
|
|
125
|
+
workspace=workspace,
|
|
126
|
+
id=id,
|
|
127
|
+
)
|
|
128
|
+
|
|
129
|
+
response = await client.get_async_httpx_client().request(**kwargs)
|
|
130
|
+
|
|
131
|
+
return _build_response(client=client, response=response)
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
async def asyncio(
|
|
135
|
+
workspace: str,
|
|
136
|
+
id: str,
|
|
137
|
+
*,
|
|
138
|
+
client: Union[AuthenticatedClient, Client],
|
|
139
|
+
) -> Optional[int]:
|
|
140
|
+
"""get job progress
|
|
141
|
+
|
|
142
|
+
Args:
|
|
143
|
+
workspace (str):
|
|
144
|
+
id (str):
|
|
145
|
+
|
|
146
|
+
Raises:
|
|
147
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
148
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
149
|
+
|
|
150
|
+
Returns:
|
|
151
|
+
int
|
|
152
|
+
"""
|
|
153
|
+
|
|
154
|
+
return (
|
|
155
|
+
await asyncio_detailed(
|
|
156
|
+
workspace=workspace,
|
|
157
|
+
id=id,
|
|
158
|
+
client=client,
|
|
159
|
+
)
|
|
160
|
+
).parsed
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
from http import HTTPStatus
|
|
2
|
+
from typing import Any, Dict, Optional, Union
|
|
3
|
+
|
|
4
|
+
import httpx
|
|
5
|
+
|
|
6
|
+
from ... import errors
|
|
7
|
+
from ...client import AuthenticatedClient, Client
|
|
8
|
+
from ...models.set_job_progress_json_body import SetJobProgressJsonBody
|
|
9
|
+
from ...types import Response
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
def _get_kwargs(
|
|
13
|
+
workspace: str,
|
|
14
|
+
id: str,
|
|
15
|
+
*,
|
|
16
|
+
json_body: SetJobProgressJsonBody,
|
|
17
|
+
) -> Dict[str, Any]:
|
|
18
|
+
pass
|
|
19
|
+
|
|
20
|
+
json_json_body = json_body.to_dict()
|
|
21
|
+
|
|
22
|
+
return {
|
|
23
|
+
"method": "post",
|
|
24
|
+
"url": "/w/{workspace}/job_metrics/set_progress/{id}".format(
|
|
25
|
+
workspace=workspace,
|
|
26
|
+
id=id,
|
|
27
|
+
),
|
|
28
|
+
"json": json_json_body,
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Optional[Any]:
|
|
33
|
+
if response.status_code == HTTPStatus.OK:
|
|
34
|
+
return None
|
|
35
|
+
if client.raise_on_unexpected_status:
|
|
36
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
37
|
+
else:
|
|
38
|
+
return None
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
def _build_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Response[Any]:
|
|
42
|
+
return Response(
|
|
43
|
+
status_code=HTTPStatus(response.status_code),
|
|
44
|
+
content=response.content,
|
|
45
|
+
headers=response.headers,
|
|
46
|
+
parsed=_parse_response(client=client, response=response),
|
|
47
|
+
)
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
def sync_detailed(
|
|
51
|
+
workspace: str,
|
|
52
|
+
id: str,
|
|
53
|
+
*,
|
|
54
|
+
client: Union[AuthenticatedClient, Client],
|
|
55
|
+
json_body: SetJobProgressJsonBody,
|
|
56
|
+
) -> Response[Any]:
|
|
57
|
+
"""set job metrics
|
|
58
|
+
|
|
59
|
+
Args:
|
|
60
|
+
workspace (str):
|
|
61
|
+
id (str):
|
|
62
|
+
json_body (SetJobProgressJsonBody):
|
|
63
|
+
|
|
64
|
+
Raises:
|
|
65
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
66
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
67
|
+
|
|
68
|
+
Returns:
|
|
69
|
+
Response[Any]
|
|
70
|
+
"""
|
|
71
|
+
|
|
72
|
+
kwargs = _get_kwargs(
|
|
73
|
+
workspace=workspace,
|
|
74
|
+
id=id,
|
|
75
|
+
json_body=json_body,
|
|
76
|
+
)
|
|
77
|
+
|
|
78
|
+
response = client.get_httpx_client().request(
|
|
79
|
+
**kwargs,
|
|
80
|
+
)
|
|
81
|
+
|
|
82
|
+
return _build_response(client=client, response=response)
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
async def asyncio_detailed(
|
|
86
|
+
workspace: str,
|
|
87
|
+
id: str,
|
|
88
|
+
*,
|
|
89
|
+
client: Union[AuthenticatedClient, Client],
|
|
90
|
+
json_body: SetJobProgressJsonBody,
|
|
91
|
+
) -> Response[Any]:
|
|
92
|
+
"""set job metrics
|
|
93
|
+
|
|
94
|
+
Args:
|
|
95
|
+
workspace (str):
|
|
96
|
+
id (str):
|
|
97
|
+
json_body (SetJobProgressJsonBody):
|
|
98
|
+
|
|
99
|
+
Raises:
|
|
100
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
101
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
102
|
+
|
|
103
|
+
Returns:
|
|
104
|
+
Response[Any]
|
|
105
|
+
"""
|
|
106
|
+
|
|
107
|
+
kwargs = _get_kwargs(
|
|
108
|
+
workspace=workspace,
|
|
109
|
+
id=id,
|
|
110
|
+
json_body=json_body,
|
|
111
|
+
)
|
|
112
|
+
|
|
113
|
+
response = await client.get_async_httpx_client().request(**kwargs)
|
|
114
|
+
|
|
115
|
+
return _build_response(client=client, response=response)
|
|
@@ -28,6 +28,7 @@ class CompletedJobFlowStatusFailureModule:
|
|
|
28
28
|
id (Union[Unset, str]):
|
|
29
29
|
job (Union[Unset, str]):
|
|
30
30
|
count (Union[Unset, int]):
|
|
31
|
+
progress (Union[Unset, int]):
|
|
31
32
|
iterator (Union[Unset, CompletedJobFlowStatusFailureModuleIterator]):
|
|
32
33
|
flow_jobs (Union[Unset, List[str]]):
|
|
33
34
|
flow_jobs_success (Union[Unset, List[bool]]):
|
|
@@ -42,6 +43,7 @@ class CompletedJobFlowStatusFailureModule:
|
|
|
42
43
|
id: Union[Unset, str] = UNSET
|
|
43
44
|
job: Union[Unset, str] = UNSET
|
|
44
45
|
count: Union[Unset, int] = UNSET
|
|
46
|
+
progress: Union[Unset, int] = UNSET
|
|
45
47
|
iterator: Union[Unset, "CompletedJobFlowStatusFailureModuleIterator"] = UNSET
|
|
46
48
|
flow_jobs: Union[Unset, List[str]] = UNSET
|
|
47
49
|
flow_jobs_success: Union[Unset, List[bool]] = UNSET
|
|
@@ -58,6 +60,7 @@ class CompletedJobFlowStatusFailureModule:
|
|
|
58
60
|
id = self.id
|
|
59
61
|
job = self.job
|
|
60
62
|
count = self.count
|
|
63
|
+
progress = self.progress
|
|
61
64
|
iterator: Union[Unset, Dict[str, Any]] = UNSET
|
|
62
65
|
if not isinstance(self.iterator, Unset):
|
|
63
66
|
iterator = self.iterator.to_dict()
|
|
@@ -105,6 +108,8 @@ class CompletedJobFlowStatusFailureModule:
|
|
|
105
108
|
field_dict["job"] = job
|
|
106
109
|
if count is not UNSET:
|
|
107
110
|
field_dict["count"] = count
|
|
111
|
+
if progress is not UNSET:
|
|
112
|
+
field_dict["progress"] = progress
|
|
108
113
|
if iterator is not UNSET:
|
|
109
114
|
field_dict["iterator"] = iterator
|
|
110
115
|
if flow_jobs is not UNSET:
|
|
@@ -148,6 +153,8 @@ class CompletedJobFlowStatusFailureModule:
|
|
|
148
153
|
|
|
149
154
|
count = d.pop("count", UNSET)
|
|
150
155
|
|
|
156
|
+
progress = d.pop("progress", UNSET)
|
|
157
|
+
|
|
151
158
|
_iterator = d.pop("iterator", UNSET)
|
|
152
159
|
iterator: Union[Unset, CompletedJobFlowStatusFailureModuleIterator]
|
|
153
160
|
if isinstance(_iterator, Unset):
|
|
@@ -189,6 +196,7 @@ class CompletedJobFlowStatusFailureModule:
|
|
|
189
196
|
id=id,
|
|
190
197
|
job=job,
|
|
191
198
|
count=count,
|
|
199
|
+
progress=progress,
|
|
192
200
|
iterator=iterator,
|
|
193
201
|
flow_jobs=flow_jobs,
|
|
194
202
|
flow_jobs_success=flow_jobs_success,
|
|
@@ -28,6 +28,7 @@ class CompletedJobFlowStatusModulesItem:
|
|
|
28
28
|
id (Union[Unset, str]):
|
|
29
29
|
job (Union[Unset, str]):
|
|
30
30
|
count (Union[Unset, int]):
|
|
31
|
+
progress (Union[Unset, int]):
|
|
31
32
|
iterator (Union[Unset, CompletedJobFlowStatusModulesItemIterator]):
|
|
32
33
|
flow_jobs (Union[Unset, List[str]]):
|
|
33
34
|
flow_jobs_success (Union[Unset, List[bool]]):
|
|
@@ -41,6 +42,7 @@ class CompletedJobFlowStatusModulesItem:
|
|
|
41
42
|
id: Union[Unset, str] = UNSET
|
|
42
43
|
job: Union[Unset, str] = UNSET
|
|
43
44
|
count: Union[Unset, int] = UNSET
|
|
45
|
+
progress: Union[Unset, int] = UNSET
|
|
44
46
|
iterator: Union[Unset, "CompletedJobFlowStatusModulesItemIterator"] = UNSET
|
|
45
47
|
flow_jobs: Union[Unset, List[str]] = UNSET
|
|
46
48
|
flow_jobs_success: Union[Unset, List[bool]] = UNSET
|
|
@@ -56,6 +58,7 @@ class CompletedJobFlowStatusModulesItem:
|
|
|
56
58
|
id = self.id
|
|
57
59
|
job = self.job
|
|
58
60
|
count = self.count
|
|
61
|
+
progress = self.progress
|
|
59
62
|
iterator: Union[Unset, Dict[str, Any]] = UNSET
|
|
60
63
|
if not isinstance(self.iterator, Unset):
|
|
61
64
|
iterator = self.iterator.to_dict()
|
|
@@ -101,6 +104,8 @@ class CompletedJobFlowStatusModulesItem:
|
|
|
101
104
|
field_dict["job"] = job
|
|
102
105
|
if count is not UNSET:
|
|
103
106
|
field_dict["count"] = count
|
|
107
|
+
if progress is not UNSET:
|
|
108
|
+
field_dict["progress"] = progress
|
|
104
109
|
if iterator is not UNSET:
|
|
105
110
|
field_dict["iterator"] = iterator
|
|
106
111
|
if flow_jobs is not UNSET:
|
|
@@ -138,6 +143,8 @@ class CompletedJobFlowStatusModulesItem:
|
|
|
138
143
|
|
|
139
144
|
count = d.pop("count", UNSET)
|
|
140
145
|
|
|
146
|
+
progress = d.pop("progress", UNSET)
|
|
147
|
+
|
|
141
148
|
_iterator = d.pop("iterator", UNSET)
|
|
142
149
|
iterator: Union[Unset, CompletedJobFlowStatusModulesItemIterator]
|
|
143
150
|
if isinstance(_iterator, Unset):
|
|
@@ -177,6 +184,7 @@ class CompletedJobFlowStatusModulesItem:
|
|
|
177
184
|
id=id,
|
|
178
185
|
job=job,
|
|
179
186
|
count=count,
|
|
187
|
+
progress=progress,
|
|
180
188
|
iterator=iterator,
|
|
181
189
|
flow_jobs=flow_jobs,
|
|
182
190
|
flow_jobs_success=flow_jobs_success,
|
|
@@ -34,6 +34,7 @@ class DeleteCompletedJobResponse200FlowStatusFailureModule:
|
|
|
34
34
|
id (Union[Unset, str]):
|
|
35
35
|
job (Union[Unset, str]):
|
|
36
36
|
count (Union[Unset, int]):
|
|
37
|
+
progress (Union[Unset, int]):
|
|
37
38
|
iterator (Union[Unset, DeleteCompletedJobResponse200FlowStatusFailureModuleIterator]):
|
|
38
39
|
flow_jobs (Union[Unset, List[str]]):
|
|
39
40
|
flow_jobs_success (Union[Unset, List[bool]]):
|
|
@@ -48,6 +49,7 @@ class DeleteCompletedJobResponse200FlowStatusFailureModule:
|
|
|
48
49
|
id: Union[Unset, str] = UNSET
|
|
49
50
|
job: Union[Unset, str] = UNSET
|
|
50
51
|
count: Union[Unset, int] = UNSET
|
|
52
|
+
progress: Union[Unset, int] = UNSET
|
|
51
53
|
iterator: Union[Unset, "DeleteCompletedJobResponse200FlowStatusFailureModuleIterator"] = UNSET
|
|
52
54
|
flow_jobs: Union[Unset, List[str]] = UNSET
|
|
53
55
|
flow_jobs_success: Union[Unset, List[bool]] = UNSET
|
|
@@ -64,6 +66,7 @@ class DeleteCompletedJobResponse200FlowStatusFailureModule:
|
|
|
64
66
|
id = self.id
|
|
65
67
|
job = self.job
|
|
66
68
|
count = self.count
|
|
69
|
+
progress = self.progress
|
|
67
70
|
iterator: Union[Unset, Dict[str, Any]] = UNSET
|
|
68
71
|
if not isinstance(self.iterator, Unset):
|
|
69
72
|
iterator = self.iterator.to_dict()
|
|
@@ -111,6 +114,8 @@ class DeleteCompletedJobResponse200FlowStatusFailureModule:
|
|
|
111
114
|
field_dict["job"] = job
|
|
112
115
|
if count is not UNSET:
|
|
113
116
|
field_dict["count"] = count
|
|
117
|
+
if progress is not UNSET:
|
|
118
|
+
field_dict["progress"] = progress
|
|
114
119
|
if iterator is not UNSET:
|
|
115
120
|
field_dict["iterator"] = iterator
|
|
116
121
|
if flow_jobs is not UNSET:
|
|
@@ -154,6 +159,8 @@ class DeleteCompletedJobResponse200FlowStatusFailureModule:
|
|
|
154
159
|
|
|
155
160
|
count = d.pop("count", UNSET)
|
|
156
161
|
|
|
162
|
+
progress = d.pop("progress", UNSET)
|
|
163
|
+
|
|
157
164
|
_iterator = d.pop("iterator", UNSET)
|
|
158
165
|
iterator: Union[Unset, DeleteCompletedJobResponse200FlowStatusFailureModuleIterator]
|
|
159
166
|
if isinstance(_iterator, Unset):
|
|
@@ -197,6 +204,7 @@ class DeleteCompletedJobResponse200FlowStatusFailureModule:
|
|
|
197
204
|
id=id,
|
|
198
205
|
job=job,
|
|
199
206
|
count=count,
|
|
207
|
+
progress=progress,
|
|
200
208
|
iterator=iterator,
|
|
201
209
|
flow_jobs=flow_jobs,
|
|
202
210
|
flow_jobs_success=flow_jobs_success,
|
|
@@ -34,6 +34,7 @@ class DeleteCompletedJobResponse200FlowStatusModulesItem:
|
|
|
34
34
|
id (Union[Unset, str]):
|
|
35
35
|
job (Union[Unset, str]):
|
|
36
36
|
count (Union[Unset, int]):
|
|
37
|
+
progress (Union[Unset, int]):
|
|
37
38
|
iterator (Union[Unset, DeleteCompletedJobResponse200FlowStatusModulesItemIterator]):
|
|
38
39
|
flow_jobs (Union[Unset, List[str]]):
|
|
39
40
|
flow_jobs_success (Union[Unset, List[bool]]):
|
|
@@ -47,6 +48,7 @@ class DeleteCompletedJobResponse200FlowStatusModulesItem:
|
|
|
47
48
|
id: Union[Unset, str] = UNSET
|
|
48
49
|
job: Union[Unset, str] = UNSET
|
|
49
50
|
count: Union[Unset, int] = UNSET
|
|
51
|
+
progress: Union[Unset, int] = UNSET
|
|
50
52
|
iterator: Union[Unset, "DeleteCompletedJobResponse200FlowStatusModulesItemIterator"] = UNSET
|
|
51
53
|
flow_jobs: Union[Unset, List[str]] = UNSET
|
|
52
54
|
flow_jobs_success: Union[Unset, List[bool]] = UNSET
|
|
@@ -62,6 +64,7 @@ class DeleteCompletedJobResponse200FlowStatusModulesItem:
|
|
|
62
64
|
id = self.id
|
|
63
65
|
job = self.job
|
|
64
66
|
count = self.count
|
|
67
|
+
progress = self.progress
|
|
65
68
|
iterator: Union[Unset, Dict[str, Any]] = UNSET
|
|
66
69
|
if not isinstance(self.iterator, Unset):
|
|
67
70
|
iterator = self.iterator.to_dict()
|
|
@@ -107,6 +110,8 @@ class DeleteCompletedJobResponse200FlowStatusModulesItem:
|
|
|
107
110
|
field_dict["job"] = job
|
|
108
111
|
if count is not UNSET:
|
|
109
112
|
field_dict["count"] = count
|
|
113
|
+
if progress is not UNSET:
|
|
114
|
+
field_dict["progress"] = progress
|
|
110
115
|
if iterator is not UNSET:
|
|
111
116
|
field_dict["iterator"] = iterator
|
|
112
117
|
if flow_jobs is not UNSET:
|
|
@@ -148,6 +153,8 @@ class DeleteCompletedJobResponse200FlowStatusModulesItem:
|
|
|
148
153
|
|
|
149
154
|
count = d.pop("count", UNSET)
|
|
150
155
|
|
|
156
|
+
progress = d.pop("progress", UNSET)
|
|
157
|
+
|
|
151
158
|
_iterator = d.pop("iterator", UNSET)
|
|
152
159
|
iterator: Union[Unset, DeleteCompletedJobResponse200FlowStatusModulesItemIterator]
|
|
153
160
|
if isinstance(_iterator, Unset):
|
|
@@ -189,6 +196,7 @@ class DeleteCompletedJobResponse200FlowStatusModulesItem:
|
|
|
189
196
|
id=id,
|
|
190
197
|
job=job,
|
|
191
198
|
count=count,
|
|
199
|
+
progress=progress,
|
|
192
200
|
iterator=iterator,
|
|
193
201
|
flow_jobs=flow_jobs,
|
|
194
202
|
flow_jobs_success=flow_jobs_success,
|
|
@@ -34,6 +34,7 @@ class ExtendedJobsJobsItemType0FlowStatusFailureModule:
|
|
|
34
34
|
id (Union[Unset, str]):
|
|
35
35
|
job (Union[Unset, str]):
|
|
36
36
|
count (Union[Unset, int]):
|
|
37
|
+
progress (Union[Unset, int]):
|
|
37
38
|
iterator (Union[Unset, ExtendedJobsJobsItemType0FlowStatusFailureModuleIterator]):
|
|
38
39
|
flow_jobs (Union[Unset, List[str]]):
|
|
39
40
|
flow_jobs_success (Union[Unset, List[bool]]):
|
|
@@ -48,6 +49,7 @@ class ExtendedJobsJobsItemType0FlowStatusFailureModule:
|
|
|
48
49
|
id: Union[Unset, str] = UNSET
|
|
49
50
|
job: Union[Unset, str] = UNSET
|
|
50
51
|
count: Union[Unset, int] = UNSET
|
|
52
|
+
progress: Union[Unset, int] = UNSET
|
|
51
53
|
iterator: Union[Unset, "ExtendedJobsJobsItemType0FlowStatusFailureModuleIterator"] = UNSET
|
|
52
54
|
flow_jobs: Union[Unset, List[str]] = UNSET
|
|
53
55
|
flow_jobs_success: Union[Unset, List[bool]] = UNSET
|
|
@@ -64,6 +66,7 @@ class ExtendedJobsJobsItemType0FlowStatusFailureModule:
|
|
|
64
66
|
id = self.id
|
|
65
67
|
job = self.job
|
|
66
68
|
count = self.count
|
|
69
|
+
progress = self.progress
|
|
67
70
|
iterator: Union[Unset, Dict[str, Any]] = UNSET
|
|
68
71
|
if not isinstance(self.iterator, Unset):
|
|
69
72
|
iterator = self.iterator.to_dict()
|
|
@@ -111,6 +114,8 @@ class ExtendedJobsJobsItemType0FlowStatusFailureModule:
|
|
|
111
114
|
field_dict["job"] = job
|
|
112
115
|
if count is not UNSET:
|
|
113
116
|
field_dict["count"] = count
|
|
117
|
+
if progress is not UNSET:
|
|
118
|
+
field_dict["progress"] = progress
|
|
114
119
|
if iterator is not UNSET:
|
|
115
120
|
field_dict["iterator"] = iterator
|
|
116
121
|
if flow_jobs is not UNSET:
|
|
@@ -154,6 +159,8 @@ class ExtendedJobsJobsItemType0FlowStatusFailureModule:
|
|
|
154
159
|
|
|
155
160
|
count = d.pop("count", UNSET)
|
|
156
161
|
|
|
162
|
+
progress = d.pop("progress", UNSET)
|
|
163
|
+
|
|
157
164
|
_iterator = d.pop("iterator", UNSET)
|
|
158
165
|
iterator: Union[Unset, ExtendedJobsJobsItemType0FlowStatusFailureModuleIterator]
|
|
159
166
|
if isinstance(_iterator, Unset):
|
|
@@ -197,6 +204,7 @@ class ExtendedJobsJobsItemType0FlowStatusFailureModule:
|
|
|
197
204
|
id=id,
|
|
198
205
|
job=job,
|
|
199
206
|
count=count,
|
|
207
|
+
progress=progress,
|
|
200
208
|
iterator=iterator,
|
|
201
209
|
flow_jobs=flow_jobs,
|
|
202
210
|
flow_jobs_success=flow_jobs_success,
|
|
@@ -34,6 +34,7 @@ class ExtendedJobsJobsItemType0FlowStatusModulesItem:
|
|
|
34
34
|
id (Union[Unset, str]):
|
|
35
35
|
job (Union[Unset, str]):
|
|
36
36
|
count (Union[Unset, int]):
|
|
37
|
+
progress (Union[Unset, int]):
|
|
37
38
|
iterator (Union[Unset, ExtendedJobsJobsItemType0FlowStatusModulesItemIterator]):
|
|
38
39
|
flow_jobs (Union[Unset, List[str]]):
|
|
39
40
|
flow_jobs_success (Union[Unset, List[bool]]):
|
|
@@ -47,6 +48,7 @@ class ExtendedJobsJobsItemType0FlowStatusModulesItem:
|
|
|
47
48
|
id: Union[Unset, str] = UNSET
|
|
48
49
|
job: Union[Unset, str] = UNSET
|
|
49
50
|
count: Union[Unset, int] = UNSET
|
|
51
|
+
progress: Union[Unset, int] = UNSET
|
|
50
52
|
iterator: Union[Unset, "ExtendedJobsJobsItemType0FlowStatusModulesItemIterator"] = UNSET
|
|
51
53
|
flow_jobs: Union[Unset, List[str]] = UNSET
|
|
52
54
|
flow_jobs_success: Union[Unset, List[bool]] = UNSET
|
|
@@ -62,6 +64,7 @@ class ExtendedJobsJobsItemType0FlowStatusModulesItem:
|
|
|
62
64
|
id = self.id
|
|
63
65
|
job = self.job
|
|
64
66
|
count = self.count
|
|
67
|
+
progress = self.progress
|
|
65
68
|
iterator: Union[Unset, Dict[str, Any]] = UNSET
|
|
66
69
|
if not isinstance(self.iterator, Unset):
|
|
67
70
|
iterator = self.iterator.to_dict()
|
|
@@ -107,6 +110,8 @@ class ExtendedJobsJobsItemType0FlowStatusModulesItem:
|
|
|
107
110
|
field_dict["job"] = job
|
|
108
111
|
if count is not UNSET:
|
|
109
112
|
field_dict["count"] = count
|
|
113
|
+
if progress is not UNSET:
|
|
114
|
+
field_dict["progress"] = progress
|
|
110
115
|
if iterator is not UNSET:
|
|
111
116
|
field_dict["iterator"] = iterator
|
|
112
117
|
if flow_jobs is not UNSET:
|
|
@@ -148,6 +153,8 @@ class ExtendedJobsJobsItemType0FlowStatusModulesItem:
|
|
|
148
153
|
|
|
149
154
|
count = d.pop("count", UNSET)
|
|
150
155
|
|
|
156
|
+
progress = d.pop("progress", UNSET)
|
|
157
|
+
|
|
151
158
|
_iterator = d.pop("iterator", UNSET)
|
|
152
159
|
iterator: Union[Unset, ExtendedJobsJobsItemType0FlowStatusModulesItemIterator]
|
|
153
160
|
if isinstance(_iterator, Unset):
|
|
@@ -187,6 +194,7 @@ class ExtendedJobsJobsItemType0FlowStatusModulesItem:
|
|
|
187
194
|
id=id,
|
|
188
195
|
job=job,
|
|
189
196
|
count=count,
|
|
197
|
+
progress=progress,
|
|
190
198
|
iterator=iterator,
|
|
191
199
|
flow_jobs=flow_jobs,
|
|
192
200
|
flow_jobs_success=flow_jobs_success,
|