windmill-api 1.393.4__py3-none-any.whl → 1.394.1__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-1.393.4.dist-info → windmill_api-1.394.1.dist-info}/METADATA +1 -1
- {windmill_api-1.393.4.dist-info → windmill_api-1.394.1.dist-info}/RECORD +4 -6
- windmill_api/api/flow/get_flow_input_history_by_path.py +0 -206
- windmill_api/models/get_flow_input_history_by_path_response_200_item.py +0 -99
- {windmill_api-1.393.4.dist-info → windmill_api-1.394.1.dist-info}/LICENSE +0 -0
- {windmill_api-1.393.4.dist-info → windmill_api-1.394.1.dist-info}/WHEEL +0 -0
|
@@ -50,7 +50,6 @@ windmill_api/api/flow/exists_flow_by_path.py,sha256=YZuCYmtAcDPInobJibqXoUVQTCyl
|
|
|
50
50
|
windmill_api/api/flow/get_flow_by_path.py,sha256=zg_PiWpieqQaP8cw4Fq4c1l7_-XY73Yu3lK886PqAuY,4978
|
|
51
51
|
windmill_api/api/flow/get_flow_by_path_with_draft.py,sha256=LmkuXkN7B-HNdo_iq21z4oMFM6W363NAd78GTlb6cp0,4246
|
|
52
52
|
windmill_api/api/flow/get_flow_history.py,sha256=OT_yKnEKMKssKuzqWdKRTKtLkAON0pzzhAP7g9w3cJw,4453
|
|
53
|
-
windmill_api/api/flow/get_flow_input_history_by_path.py,sha256=TBdjeZCfNUXmXKwRDKonR_mzOtUFdp9Jnq-ywa5eP1A,5888
|
|
54
53
|
windmill_api/api/flow/get_flow_version.py,sha256=Wd3gQWT-R77GiB__eEBJ1ou_31n87DP0qkc0zecysV4,4436
|
|
55
54
|
windmill_api/api/flow/get_hub_flow_by_id.py,sha256=VJxEVdnGNsWt0EEnfD8iDgFV9ztrP5mNL9dSCY8UYD0,3696
|
|
56
55
|
windmill_api/api/flow/list_flow_paths.py,sha256=8-T37YwR-Cr_umc1XV5flxzspwPfn4kw9ogfGcBxrhc,2296
|
|
@@ -1214,7 +1213,6 @@ windmill_api/models/get_flow_by_path_with_draft_response_200_draft_value_modules
|
|
|
1214
1213
|
windmill_api/models/get_flow_by_path_with_draft_response_200_draft_value_modules_item_suspend_user_groups_required_type_1.py,sha256=lwqzFiUvdKd6nRvhc7Jbcpq6V0s39X5FOT0wJBr3UX4,2489
|
|
1215
1214
|
windmill_api/models/get_flow_by_path_with_draft_response_200_draft_value_modules_item_suspend_user_groups_required_type_1_type.py,sha256=1mGJ85xPXVWtF1Zt-43PuaxZhhmcz-09NE3mc4y8-TI,223
|
|
1216
1215
|
windmill_api/models/get_flow_history_response_200_item.py,sha256=yPZ2y8yQzTK_MUsnR9pAx_2OmA7zk-pcM_zu0wl2558,2179
|
|
1217
|
-
windmill_api/models/get_flow_input_history_by_path_response_200_item.py,sha256=HiaHDuNn1tqz1YKYxJwWJVBtLUCLunu9MPDYaDlUXQE,2706
|
|
1218
1216
|
windmill_api/models/get_flow_version_response_200.py,sha256=t49IQcSpldReXllANU_IBALsvPMNNRlTkBSkAq-4xY0,7339
|
|
1219
1217
|
windmill_api/models/get_flow_version_response_200_extra_perms.py,sha256=WuW6SS3WsUSbespoJo86LTTlMRWDCxZFzMEzjf4mQks,1348
|
|
1220
1218
|
windmill_api/models/get_flow_version_response_200_schema.py,sha256=6Aw7uzu9fmJt3Xz6nTatjGoXztUoRderwYrb0-w1ILc,1322
|
|
@@ -2630,7 +2628,7 @@ windmill_api/models/workspace_git_sync_settings_repositories_item_exclude_types_
|
|
|
2630
2628
|
windmill_api/models/workspace_invite.py,sha256=HnAJWGv5LwxWkz1T3fhgHKIccO7RFC1lixwUUXG6CXs,2037
|
|
2631
2629
|
windmill_api/py.typed,sha256=8ZJUsxZiuOy1oJeVhsTWQhTG_6pTVHVXk5hJL79ebTk,25
|
|
2632
2630
|
windmill_api/types.py,sha256=GoYub3t4hQP2Yn5tsvShsBfIY3vHUmblU0MXszDx_V0,968
|
|
2633
|
-
windmill_api-1.
|
|
2634
|
-
windmill_api-1.
|
|
2635
|
-
windmill_api-1.
|
|
2636
|
-
windmill_api-1.
|
|
2631
|
+
windmill_api-1.394.1.dist-info/LICENSE,sha256=qJVFNTaOevCeSY6NoXeUG1SPOwQ1K-PxVQ2iEWJzX-A,11348
|
|
2632
|
+
windmill_api-1.394.1.dist-info/METADATA,sha256=OrtAAIfbqPC_phOsbZmqOk5SFjBrsVpwVaJDuEq9N3w,5023
|
|
2633
|
+
windmill_api-1.394.1.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
|
|
2634
|
+
windmill_api-1.394.1.dist-info/RECORD,,
|
|
@@ -1,206 +0,0 @@
|
|
|
1
|
-
from http import HTTPStatus
|
|
2
|
-
from typing import Any, Dict, List, Optional, Union
|
|
3
|
-
|
|
4
|
-
import httpx
|
|
5
|
-
|
|
6
|
-
from ... import errors
|
|
7
|
-
from ...client import AuthenticatedClient, Client
|
|
8
|
-
from ...models.get_flow_input_history_by_path_response_200_item import GetFlowInputHistoryByPathResponse200Item
|
|
9
|
-
from ...types import UNSET, Response, Unset
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
def _get_kwargs(
|
|
13
|
-
workspace: str,
|
|
14
|
-
path: str,
|
|
15
|
-
*,
|
|
16
|
-
page: Union[Unset, None, int] = UNSET,
|
|
17
|
-
per_page: Union[Unset, None, int] = UNSET,
|
|
18
|
-
) -> Dict[str, Any]:
|
|
19
|
-
pass
|
|
20
|
-
|
|
21
|
-
params: Dict[str, Any] = {}
|
|
22
|
-
params["page"] = page
|
|
23
|
-
|
|
24
|
-
params["per_page"] = per_page
|
|
25
|
-
|
|
26
|
-
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
27
|
-
|
|
28
|
-
return {
|
|
29
|
-
"method": "get",
|
|
30
|
-
"url": "/w/{workspace}/flows/input_history/p/{path}".format(
|
|
31
|
-
workspace=workspace,
|
|
32
|
-
path=path,
|
|
33
|
-
),
|
|
34
|
-
"params": params,
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
def _parse_response(
|
|
39
|
-
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
40
|
-
) -> Optional[List["GetFlowInputHistoryByPathResponse200Item"]]:
|
|
41
|
-
if response.status_code == HTTPStatus.OK:
|
|
42
|
-
response_200 = []
|
|
43
|
-
_response_200 = response.json()
|
|
44
|
-
for response_200_item_data in _response_200:
|
|
45
|
-
response_200_item = GetFlowInputHistoryByPathResponse200Item.from_dict(response_200_item_data)
|
|
46
|
-
|
|
47
|
-
response_200.append(response_200_item)
|
|
48
|
-
|
|
49
|
-
return response_200
|
|
50
|
-
if client.raise_on_unexpected_status:
|
|
51
|
-
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
52
|
-
else:
|
|
53
|
-
return None
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
def _build_response(
|
|
57
|
-
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
58
|
-
) -> Response[List["GetFlowInputHistoryByPathResponse200Item"]]:
|
|
59
|
-
return Response(
|
|
60
|
-
status_code=HTTPStatus(response.status_code),
|
|
61
|
-
content=response.content,
|
|
62
|
-
headers=response.headers,
|
|
63
|
-
parsed=_parse_response(client=client, response=response),
|
|
64
|
-
)
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
def sync_detailed(
|
|
68
|
-
workspace: str,
|
|
69
|
-
path: str,
|
|
70
|
-
*,
|
|
71
|
-
client: Union[AuthenticatedClient, Client],
|
|
72
|
-
page: Union[Unset, None, int] = UNSET,
|
|
73
|
-
per_page: Union[Unset, None, int] = UNSET,
|
|
74
|
-
) -> Response[List["GetFlowInputHistoryByPathResponse200Item"]]:
|
|
75
|
-
"""list inputs for previous completed flow jobs
|
|
76
|
-
|
|
77
|
-
Args:
|
|
78
|
-
workspace (str):
|
|
79
|
-
path (str):
|
|
80
|
-
page (Union[Unset, None, int]):
|
|
81
|
-
per_page (Union[Unset, None, int]):
|
|
82
|
-
|
|
83
|
-
Raises:
|
|
84
|
-
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
85
|
-
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
86
|
-
|
|
87
|
-
Returns:
|
|
88
|
-
Response[List['GetFlowInputHistoryByPathResponse200Item']]
|
|
89
|
-
"""
|
|
90
|
-
|
|
91
|
-
kwargs = _get_kwargs(
|
|
92
|
-
workspace=workspace,
|
|
93
|
-
path=path,
|
|
94
|
-
page=page,
|
|
95
|
-
per_page=per_page,
|
|
96
|
-
)
|
|
97
|
-
|
|
98
|
-
response = client.get_httpx_client().request(
|
|
99
|
-
**kwargs,
|
|
100
|
-
)
|
|
101
|
-
|
|
102
|
-
return _build_response(client=client, response=response)
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
def sync(
|
|
106
|
-
workspace: str,
|
|
107
|
-
path: str,
|
|
108
|
-
*,
|
|
109
|
-
client: Union[AuthenticatedClient, Client],
|
|
110
|
-
page: Union[Unset, None, int] = UNSET,
|
|
111
|
-
per_page: Union[Unset, None, int] = UNSET,
|
|
112
|
-
) -> Optional[List["GetFlowInputHistoryByPathResponse200Item"]]:
|
|
113
|
-
"""list inputs for previous completed flow jobs
|
|
114
|
-
|
|
115
|
-
Args:
|
|
116
|
-
workspace (str):
|
|
117
|
-
path (str):
|
|
118
|
-
page (Union[Unset, None, int]):
|
|
119
|
-
per_page (Union[Unset, None, int]):
|
|
120
|
-
|
|
121
|
-
Raises:
|
|
122
|
-
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
123
|
-
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
124
|
-
|
|
125
|
-
Returns:
|
|
126
|
-
List['GetFlowInputHistoryByPathResponse200Item']
|
|
127
|
-
"""
|
|
128
|
-
|
|
129
|
-
return sync_detailed(
|
|
130
|
-
workspace=workspace,
|
|
131
|
-
path=path,
|
|
132
|
-
client=client,
|
|
133
|
-
page=page,
|
|
134
|
-
per_page=per_page,
|
|
135
|
-
).parsed
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
async def asyncio_detailed(
|
|
139
|
-
workspace: str,
|
|
140
|
-
path: str,
|
|
141
|
-
*,
|
|
142
|
-
client: Union[AuthenticatedClient, Client],
|
|
143
|
-
page: Union[Unset, None, int] = UNSET,
|
|
144
|
-
per_page: Union[Unset, None, int] = UNSET,
|
|
145
|
-
) -> Response[List["GetFlowInputHistoryByPathResponse200Item"]]:
|
|
146
|
-
"""list inputs for previous completed flow jobs
|
|
147
|
-
|
|
148
|
-
Args:
|
|
149
|
-
workspace (str):
|
|
150
|
-
path (str):
|
|
151
|
-
page (Union[Unset, None, int]):
|
|
152
|
-
per_page (Union[Unset, None, int]):
|
|
153
|
-
|
|
154
|
-
Raises:
|
|
155
|
-
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
156
|
-
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
157
|
-
|
|
158
|
-
Returns:
|
|
159
|
-
Response[List['GetFlowInputHistoryByPathResponse200Item']]
|
|
160
|
-
"""
|
|
161
|
-
|
|
162
|
-
kwargs = _get_kwargs(
|
|
163
|
-
workspace=workspace,
|
|
164
|
-
path=path,
|
|
165
|
-
page=page,
|
|
166
|
-
per_page=per_page,
|
|
167
|
-
)
|
|
168
|
-
|
|
169
|
-
response = await client.get_async_httpx_client().request(**kwargs)
|
|
170
|
-
|
|
171
|
-
return _build_response(client=client, response=response)
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
async def asyncio(
|
|
175
|
-
workspace: str,
|
|
176
|
-
path: str,
|
|
177
|
-
*,
|
|
178
|
-
client: Union[AuthenticatedClient, Client],
|
|
179
|
-
page: Union[Unset, None, int] = UNSET,
|
|
180
|
-
per_page: Union[Unset, None, int] = UNSET,
|
|
181
|
-
) -> Optional[List["GetFlowInputHistoryByPathResponse200Item"]]:
|
|
182
|
-
"""list inputs for previous completed flow jobs
|
|
183
|
-
|
|
184
|
-
Args:
|
|
185
|
-
workspace (str):
|
|
186
|
-
path (str):
|
|
187
|
-
page (Union[Unset, None, int]):
|
|
188
|
-
per_page (Union[Unset, None, int]):
|
|
189
|
-
|
|
190
|
-
Raises:
|
|
191
|
-
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
192
|
-
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
193
|
-
|
|
194
|
-
Returns:
|
|
195
|
-
List['GetFlowInputHistoryByPathResponse200Item']
|
|
196
|
-
"""
|
|
197
|
-
|
|
198
|
-
return (
|
|
199
|
-
await asyncio_detailed(
|
|
200
|
-
workspace=workspace,
|
|
201
|
-
path=path,
|
|
202
|
-
client=client,
|
|
203
|
-
page=page,
|
|
204
|
-
per_page=per_page,
|
|
205
|
-
)
|
|
206
|
-
).parsed
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import datetime
|
|
2
|
-
from typing import Any, Dict, List, Type, TypeVar, Union
|
|
3
|
-
|
|
4
|
-
from attrs import define as _attrs_define
|
|
5
|
-
from attrs import field as _attrs_field
|
|
6
|
-
from dateutil.parser import isoparse
|
|
7
|
-
|
|
8
|
-
from ..types import UNSET, Unset
|
|
9
|
-
|
|
10
|
-
T = TypeVar("T", bound="GetFlowInputHistoryByPathResponse200Item")
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
@_attrs_define
|
|
14
|
-
class GetFlowInputHistoryByPathResponse200Item:
|
|
15
|
-
"""
|
|
16
|
-
Attributes:
|
|
17
|
-
id (str):
|
|
18
|
-
name (str):
|
|
19
|
-
created_by (str):
|
|
20
|
-
created_at (datetime.datetime):
|
|
21
|
-
is_public (bool):
|
|
22
|
-
success (Union[Unset, bool]):
|
|
23
|
-
"""
|
|
24
|
-
|
|
25
|
-
id: str
|
|
26
|
-
name: str
|
|
27
|
-
created_by: str
|
|
28
|
-
created_at: datetime.datetime
|
|
29
|
-
is_public: bool
|
|
30
|
-
success: Union[Unset, bool] = UNSET
|
|
31
|
-
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
32
|
-
|
|
33
|
-
def to_dict(self) -> Dict[str, Any]:
|
|
34
|
-
id = self.id
|
|
35
|
-
name = self.name
|
|
36
|
-
created_by = self.created_by
|
|
37
|
-
created_at = self.created_at.isoformat()
|
|
38
|
-
|
|
39
|
-
is_public = self.is_public
|
|
40
|
-
success = self.success
|
|
41
|
-
|
|
42
|
-
field_dict: Dict[str, Any] = {}
|
|
43
|
-
field_dict.update(self.additional_properties)
|
|
44
|
-
field_dict.update(
|
|
45
|
-
{
|
|
46
|
-
"id": id,
|
|
47
|
-
"name": name,
|
|
48
|
-
"created_by": created_by,
|
|
49
|
-
"created_at": created_at,
|
|
50
|
-
"is_public": is_public,
|
|
51
|
-
}
|
|
52
|
-
)
|
|
53
|
-
if success is not UNSET:
|
|
54
|
-
field_dict["success"] = success
|
|
55
|
-
|
|
56
|
-
return field_dict
|
|
57
|
-
|
|
58
|
-
@classmethod
|
|
59
|
-
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
60
|
-
d = src_dict.copy()
|
|
61
|
-
id = d.pop("id")
|
|
62
|
-
|
|
63
|
-
name = d.pop("name")
|
|
64
|
-
|
|
65
|
-
created_by = d.pop("created_by")
|
|
66
|
-
|
|
67
|
-
created_at = isoparse(d.pop("created_at"))
|
|
68
|
-
|
|
69
|
-
is_public = d.pop("is_public")
|
|
70
|
-
|
|
71
|
-
success = d.pop("success", UNSET)
|
|
72
|
-
|
|
73
|
-
get_flow_input_history_by_path_response_200_item = cls(
|
|
74
|
-
id=id,
|
|
75
|
-
name=name,
|
|
76
|
-
created_by=created_by,
|
|
77
|
-
created_at=created_at,
|
|
78
|
-
is_public=is_public,
|
|
79
|
-
success=success,
|
|
80
|
-
)
|
|
81
|
-
|
|
82
|
-
get_flow_input_history_by_path_response_200_item.additional_properties = d
|
|
83
|
-
return get_flow_input_history_by_path_response_200_item
|
|
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
|
|
File without changes
|
|
File without changes
|