windmill-api 1.475.0__py3-none-any.whl → 1.476.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/folder/exists_folder.py +160 -0
- windmill_api/models/create_http_trigger_json_body.py +8 -0
- windmill_api/models/edit_http_trigger.py +8 -0
- windmill_api/models/exists_route_json_body.py +8 -0
- windmill_api/models/get_http_trigger_response_200.py +9 -0
- windmill_api/models/http_trigger.py +9 -0
- windmill_api/models/list_http_triggers_response_200_item.py +9 -0
- windmill_api/models/new_http_trigger.py +8 -0
- windmill_api/models/update_http_trigger_json_body.py +8 -0
- {windmill_api-1.475.0.dist-info → windmill_api-1.476.0.dist-info}/METADATA +1 -1
- {windmill_api-1.475.0.dist-info → windmill_api-1.476.0.dist-info}/RECORD +13 -12
- {windmill_api-1.475.0.dist-info → windmill_api-1.476.0.dist-info}/LICENSE +0 -0
- {windmill_api-1.475.0.dist-info → windmill_api-1.476.0.dist-info}/WHEEL +0 -0
|
@@ -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
|
+
name: str,
|
|
14
|
+
) -> Dict[str, Any]:
|
|
15
|
+
pass
|
|
16
|
+
|
|
17
|
+
return {
|
|
18
|
+
"method": "get",
|
|
19
|
+
"url": "/w/{workspace}/folders/exists/{name}".format(
|
|
20
|
+
workspace=workspace,
|
|
21
|
+
name=name,
|
|
22
|
+
),
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Optional[bool]:
|
|
27
|
+
if response.status_code == HTTPStatus.OK:
|
|
28
|
+
response_200 = cast(bool, 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[bool]:
|
|
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
|
+
name: str,
|
|
48
|
+
*,
|
|
49
|
+
client: Union[AuthenticatedClient, Client],
|
|
50
|
+
) -> Response[bool]:
|
|
51
|
+
"""exists folder
|
|
52
|
+
|
|
53
|
+
Args:
|
|
54
|
+
workspace (str):
|
|
55
|
+
name (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[bool]
|
|
63
|
+
"""
|
|
64
|
+
|
|
65
|
+
kwargs = _get_kwargs(
|
|
66
|
+
workspace=workspace,
|
|
67
|
+
name=name,
|
|
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
|
+
name: str,
|
|
80
|
+
*,
|
|
81
|
+
client: Union[AuthenticatedClient, Client],
|
|
82
|
+
) -> Optional[bool]:
|
|
83
|
+
"""exists folder
|
|
84
|
+
|
|
85
|
+
Args:
|
|
86
|
+
workspace (str):
|
|
87
|
+
name (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
|
+
bool
|
|
95
|
+
"""
|
|
96
|
+
|
|
97
|
+
return sync_detailed(
|
|
98
|
+
workspace=workspace,
|
|
99
|
+
name=name,
|
|
100
|
+
client=client,
|
|
101
|
+
).parsed
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
async def asyncio_detailed(
|
|
105
|
+
workspace: str,
|
|
106
|
+
name: str,
|
|
107
|
+
*,
|
|
108
|
+
client: Union[AuthenticatedClient, Client],
|
|
109
|
+
) -> Response[bool]:
|
|
110
|
+
"""exists folder
|
|
111
|
+
|
|
112
|
+
Args:
|
|
113
|
+
workspace (str):
|
|
114
|
+
name (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[bool]
|
|
122
|
+
"""
|
|
123
|
+
|
|
124
|
+
kwargs = _get_kwargs(
|
|
125
|
+
workspace=workspace,
|
|
126
|
+
name=name,
|
|
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
|
+
name: str,
|
|
137
|
+
*,
|
|
138
|
+
client: Union[AuthenticatedClient, Client],
|
|
139
|
+
) -> Optional[bool]:
|
|
140
|
+
"""exists folder
|
|
141
|
+
|
|
142
|
+
Args:
|
|
143
|
+
workspace (str):
|
|
144
|
+
name (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
|
+
bool
|
|
152
|
+
"""
|
|
153
|
+
|
|
154
|
+
return (
|
|
155
|
+
await asyncio_detailed(
|
|
156
|
+
workspace=workspace,
|
|
157
|
+
name=name,
|
|
158
|
+
client=client,
|
|
159
|
+
)
|
|
160
|
+
).parsed
|
|
@@ -25,6 +25,7 @@ class CreateHttpTriggerJsonBody:
|
|
|
25
25
|
is_async (bool):
|
|
26
26
|
requires_auth (bool):
|
|
27
27
|
is_static_website (bool):
|
|
28
|
+
workspaced_route (Union[Unset, bool]):
|
|
28
29
|
static_asset_config (Union[Unset, CreateHttpTriggerJsonBodyStaticAssetConfig]):
|
|
29
30
|
"""
|
|
30
31
|
|
|
@@ -36,6 +37,7 @@ class CreateHttpTriggerJsonBody:
|
|
|
36
37
|
is_async: bool
|
|
37
38
|
requires_auth: bool
|
|
38
39
|
is_static_website: bool
|
|
40
|
+
workspaced_route: Union[Unset, bool] = UNSET
|
|
39
41
|
static_asset_config: Union[Unset, "CreateHttpTriggerJsonBodyStaticAssetConfig"] = UNSET
|
|
40
42
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
41
43
|
|
|
@@ -49,6 +51,7 @@ class CreateHttpTriggerJsonBody:
|
|
|
49
51
|
is_async = self.is_async
|
|
50
52
|
requires_auth = self.requires_auth
|
|
51
53
|
is_static_website = self.is_static_website
|
|
54
|
+
workspaced_route = self.workspaced_route
|
|
52
55
|
static_asset_config: Union[Unset, Dict[str, Any]] = UNSET
|
|
53
56
|
if not isinstance(self.static_asset_config, Unset):
|
|
54
57
|
static_asset_config = self.static_asset_config.to_dict()
|
|
@@ -67,6 +70,8 @@ class CreateHttpTriggerJsonBody:
|
|
|
67
70
|
"is_static_website": is_static_website,
|
|
68
71
|
}
|
|
69
72
|
)
|
|
73
|
+
if workspaced_route is not UNSET:
|
|
74
|
+
field_dict["workspaced_route"] = workspaced_route
|
|
70
75
|
if static_asset_config is not UNSET:
|
|
71
76
|
field_dict["static_asset_config"] = static_asset_config
|
|
72
77
|
|
|
@@ -95,6 +100,8 @@ class CreateHttpTriggerJsonBody:
|
|
|
95
100
|
|
|
96
101
|
is_static_website = d.pop("is_static_website")
|
|
97
102
|
|
|
103
|
+
workspaced_route = d.pop("workspaced_route", UNSET)
|
|
104
|
+
|
|
98
105
|
_static_asset_config = d.pop("static_asset_config", UNSET)
|
|
99
106
|
static_asset_config: Union[Unset, CreateHttpTriggerJsonBodyStaticAssetConfig]
|
|
100
107
|
if isinstance(_static_asset_config, Unset):
|
|
@@ -111,6 +118,7 @@ class CreateHttpTriggerJsonBody:
|
|
|
111
118
|
is_async=is_async,
|
|
112
119
|
requires_auth=requires_auth,
|
|
113
120
|
is_static_website=is_static_website,
|
|
121
|
+
workspaced_route=workspaced_route,
|
|
114
122
|
static_asset_config=static_asset_config,
|
|
115
123
|
)
|
|
116
124
|
|
|
@@ -25,6 +25,7 @@ class EditHttpTrigger:
|
|
|
25
25
|
requires_auth (bool):
|
|
26
26
|
is_static_website (bool):
|
|
27
27
|
route_path (Union[Unset, str]):
|
|
28
|
+
workspaced_route (Union[Unset, bool]):
|
|
28
29
|
static_asset_config (Union[Unset, EditHttpTriggerStaticAssetConfig]):
|
|
29
30
|
"""
|
|
30
31
|
|
|
@@ -36,6 +37,7 @@ class EditHttpTrigger:
|
|
|
36
37
|
requires_auth: bool
|
|
37
38
|
is_static_website: bool
|
|
38
39
|
route_path: Union[Unset, str] = UNSET
|
|
40
|
+
workspaced_route: Union[Unset, bool] = UNSET
|
|
39
41
|
static_asset_config: Union[Unset, "EditHttpTriggerStaticAssetConfig"] = UNSET
|
|
40
42
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
41
43
|
|
|
@@ -49,6 +51,7 @@ class EditHttpTrigger:
|
|
|
49
51
|
requires_auth = self.requires_auth
|
|
50
52
|
is_static_website = self.is_static_website
|
|
51
53
|
route_path = self.route_path
|
|
54
|
+
workspaced_route = self.workspaced_route
|
|
52
55
|
static_asset_config: Union[Unset, Dict[str, Any]] = UNSET
|
|
53
56
|
if not isinstance(self.static_asset_config, Unset):
|
|
54
57
|
static_asset_config = self.static_asset_config.to_dict()
|
|
@@ -68,6 +71,8 @@ class EditHttpTrigger:
|
|
|
68
71
|
)
|
|
69
72
|
if route_path is not UNSET:
|
|
70
73
|
field_dict["route_path"] = route_path
|
|
74
|
+
if workspaced_route is not UNSET:
|
|
75
|
+
field_dict["workspaced_route"] = workspaced_route
|
|
71
76
|
if static_asset_config is not UNSET:
|
|
72
77
|
field_dict["static_asset_config"] = static_asset_config
|
|
73
78
|
|
|
@@ -94,6 +99,8 @@ class EditHttpTrigger:
|
|
|
94
99
|
|
|
95
100
|
route_path = d.pop("route_path", UNSET)
|
|
96
101
|
|
|
102
|
+
workspaced_route = d.pop("workspaced_route", UNSET)
|
|
103
|
+
|
|
97
104
|
_static_asset_config = d.pop("static_asset_config", UNSET)
|
|
98
105
|
static_asset_config: Union[Unset, EditHttpTriggerStaticAssetConfig]
|
|
99
106
|
if isinstance(_static_asset_config, Unset):
|
|
@@ -110,6 +117,7 @@ class EditHttpTrigger:
|
|
|
110
117
|
requires_auth=requires_auth,
|
|
111
118
|
is_static_website=is_static_website,
|
|
112
119
|
route_path=route_path,
|
|
120
|
+
workspaced_route=workspaced_route,
|
|
113
121
|
static_asset_config=static_asset_config,
|
|
114
122
|
)
|
|
115
123
|
|
|
@@ -16,11 +16,13 @@ class ExistsRouteJsonBody:
|
|
|
16
16
|
route_path (str):
|
|
17
17
|
http_method (ExistsRouteJsonBodyHttpMethod):
|
|
18
18
|
trigger_path (Union[Unset, str]):
|
|
19
|
+
workspaced_route (Union[Unset, bool]):
|
|
19
20
|
"""
|
|
20
21
|
|
|
21
22
|
route_path: str
|
|
22
23
|
http_method: ExistsRouteJsonBodyHttpMethod
|
|
23
24
|
trigger_path: Union[Unset, str] = UNSET
|
|
25
|
+
workspaced_route: Union[Unset, bool] = UNSET
|
|
24
26
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
25
27
|
|
|
26
28
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -28,6 +30,7 @@ class ExistsRouteJsonBody:
|
|
|
28
30
|
http_method = self.http_method.value
|
|
29
31
|
|
|
30
32
|
trigger_path = self.trigger_path
|
|
33
|
+
workspaced_route = self.workspaced_route
|
|
31
34
|
|
|
32
35
|
field_dict: Dict[str, Any] = {}
|
|
33
36
|
field_dict.update(self.additional_properties)
|
|
@@ -39,6 +42,8 @@ class ExistsRouteJsonBody:
|
|
|
39
42
|
)
|
|
40
43
|
if trigger_path is not UNSET:
|
|
41
44
|
field_dict["trigger_path"] = trigger_path
|
|
45
|
+
if workspaced_route is not UNSET:
|
|
46
|
+
field_dict["workspaced_route"] = workspaced_route
|
|
42
47
|
|
|
43
48
|
return field_dict
|
|
44
49
|
|
|
@@ -51,10 +56,13 @@ class ExistsRouteJsonBody:
|
|
|
51
56
|
|
|
52
57
|
trigger_path = d.pop("trigger_path", UNSET)
|
|
53
58
|
|
|
59
|
+
workspaced_route = d.pop("workspaced_route", UNSET)
|
|
60
|
+
|
|
54
61
|
exists_route_json_body = cls(
|
|
55
62
|
route_path=route_path,
|
|
56
63
|
http_method=http_method,
|
|
57
64
|
trigger_path=trigger_path,
|
|
65
|
+
workspaced_route=workspaced_route,
|
|
58
66
|
)
|
|
59
67
|
|
|
60
68
|
exists_route_json_body.additional_properties = d
|
|
@@ -34,6 +34,7 @@ class GetHttpTriggerResponse200:
|
|
|
34
34
|
edited_at (datetime.datetime):
|
|
35
35
|
is_flow (bool):
|
|
36
36
|
static_asset_config (Union[Unset, GetHttpTriggerResponse200StaticAssetConfig]):
|
|
37
|
+
workspaced_route (Union[Unset, bool]):
|
|
37
38
|
"""
|
|
38
39
|
|
|
39
40
|
route_path: str
|
|
@@ -50,6 +51,7 @@ class GetHttpTriggerResponse200:
|
|
|
50
51
|
edited_at: datetime.datetime
|
|
51
52
|
is_flow: bool
|
|
52
53
|
static_asset_config: Union[Unset, "GetHttpTriggerResponse200StaticAssetConfig"] = UNSET
|
|
54
|
+
workspaced_route: Union[Unset, bool] = UNSET
|
|
53
55
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
54
56
|
|
|
55
57
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -73,6 +75,8 @@ class GetHttpTriggerResponse200:
|
|
|
73
75
|
if not isinstance(self.static_asset_config, Unset):
|
|
74
76
|
static_asset_config = self.static_asset_config.to_dict()
|
|
75
77
|
|
|
78
|
+
workspaced_route = self.workspaced_route
|
|
79
|
+
|
|
76
80
|
field_dict: Dict[str, Any] = {}
|
|
77
81
|
field_dict.update(self.additional_properties)
|
|
78
82
|
field_dict.update(
|
|
@@ -94,6 +98,8 @@ class GetHttpTriggerResponse200:
|
|
|
94
98
|
)
|
|
95
99
|
if static_asset_config is not UNSET:
|
|
96
100
|
field_dict["static_asset_config"] = static_asset_config
|
|
101
|
+
if workspaced_route is not UNSET:
|
|
102
|
+
field_dict["workspaced_route"] = workspaced_route
|
|
97
103
|
|
|
98
104
|
return field_dict
|
|
99
105
|
|
|
@@ -138,6 +144,8 @@ class GetHttpTriggerResponse200:
|
|
|
138
144
|
else:
|
|
139
145
|
static_asset_config = GetHttpTriggerResponse200StaticAssetConfig.from_dict(_static_asset_config)
|
|
140
146
|
|
|
147
|
+
workspaced_route = d.pop("workspaced_route", UNSET)
|
|
148
|
+
|
|
141
149
|
get_http_trigger_response_200 = cls(
|
|
142
150
|
route_path=route_path,
|
|
143
151
|
http_method=http_method,
|
|
@@ -153,6 +161,7 @@ class GetHttpTriggerResponse200:
|
|
|
153
161
|
edited_at=edited_at,
|
|
154
162
|
is_flow=is_flow,
|
|
155
163
|
static_asset_config=static_asset_config,
|
|
164
|
+
workspaced_route=workspaced_route,
|
|
156
165
|
)
|
|
157
166
|
|
|
158
167
|
get_http_trigger_response_200.additional_properties = d
|
|
@@ -34,6 +34,7 @@ class HttpTrigger:
|
|
|
34
34
|
edited_at (datetime.datetime):
|
|
35
35
|
is_flow (bool):
|
|
36
36
|
static_asset_config (Union[Unset, HttpTriggerStaticAssetConfig]):
|
|
37
|
+
workspaced_route (Union[Unset, bool]):
|
|
37
38
|
"""
|
|
38
39
|
|
|
39
40
|
route_path: str
|
|
@@ -50,6 +51,7 @@ class HttpTrigger:
|
|
|
50
51
|
edited_at: datetime.datetime
|
|
51
52
|
is_flow: bool
|
|
52
53
|
static_asset_config: Union[Unset, "HttpTriggerStaticAssetConfig"] = UNSET
|
|
54
|
+
workspaced_route: Union[Unset, bool] = UNSET
|
|
53
55
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
54
56
|
|
|
55
57
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -73,6 +75,8 @@ class HttpTrigger:
|
|
|
73
75
|
if not isinstance(self.static_asset_config, Unset):
|
|
74
76
|
static_asset_config = self.static_asset_config.to_dict()
|
|
75
77
|
|
|
78
|
+
workspaced_route = self.workspaced_route
|
|
79
|
+
|
|
76
80
|
field_dict: Dict[str, Any] = {}
|
|
77
81
|
field_dict.update(self.additional_properties)
|
|
78
82
|
field_dict.update(
|
|
@@ -94,6 +98,8 @@ class HttpTrigger:
|
|
|
94
98
|
)
|
|
95
99
|
if static_asset_config is not UNSET:
|
|
96
100
|
field_dict["static_asset_config"] = static_asset_config
|
|
101
|
+
if workspaced_route is not UNSET:
|
|
102
|
+
field_dict["workspaced_route"] = workspaced_route
|
|
97
103
|
|
|
98
104
|
return field_dict
|
|
99
105
|
|
|
@@ -136,6 +142,8 @@ class HttpTrigger:
|
|
|
136
142
|
else:
|
|
137
143
|
static_asset_config = HttpTriggerStaticAssetConfig.from_dict(_static_asset_config)
|
|
138
144
|
|
|
145
|
+
workspaced_route = d.pop("workspaced_route", UNSET)
|
|
146
|
+
|
|
139
147
|
http_trigger = cls(
|
|
140
148
|
route_path=route_path,
|
|
141
149
|
http_method=http_method,
|
|
@@ -151,6 +159,7 @@ class HttpTrigger:
|
|
|
151
159
|
edited_at=edited_at,
|
|
152
160
|
is_flow=is_flow,
|
|
153
161
|
static_asset_config=static_asset_config,
|
|
162
|
+
workspaced_route=workspaced_route,
|
|
154
163
|
)
|
|
155
164
|
|
|
156
165
|
http_trigger.additional_properties = d
|
|
@@ -36,6 +36,7 @@ class ListHttpTriggersResponse200Item:
|
|
|
36
36
|
edited_at (datetime.datetime):
|
|
37
37
|
is_flow (bool):
|
|
38
38
|
static_asset_config (Union[Unset, ListHttpTriggersResponse200ItemStaticAssetConfig]):
|
|
39
|
+
workspaced_route (Union[Unset, bool]):
|
|
39
40
|
"""
|
|
40
41
|
|
|
41
42
|
route_path: str
|
|
@@ -52,6 +53,7 @@ class ListHttpTriggersResponse200Item:
|
|
|
52
53
|
edited_at: datetime.datetime
|
|
53
54
|
is_flow: bool
|
|
54
55
|
static_asset_config: Union[Unset, "ListHttpTriggersResponse200ItemStaticAssetConfig"] = UNSET
|
|
56
|
+
workspaced_route: Union[Unset, bool] = UNSET
|
|
55
57
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
56
58
|
|
|
57
59
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -75,6 +77,8 @@ class ListHttpTriggersResponse200Item:
|
|
|
75
77
|
if not isinstance(self.static_asset_config, Unset):
|
|
76
78
|
static_asset_config = self.static_asset_config.to_dict()
|
|
77
79
|
|
|
80
|
+
workspaced_route = self.workspaced_route
|
|
81
|
+
|
|
78
82
|
field_dict: Dict[str, Any] = {}
|
|
79
83
|
field_dict.update(self.additional_properties)
|
|
80
84
|
field_dict.update(
|
|
@@ -96,6 +100,8 @@ class ListHttpTriggersResponse200Item:
|
|
|
96
100
|
)
|
|
97
101
|
if static_asset_config is not UNSET:
|
|
98
102
|
field_dict["static_asset_config"] = static_asset_config
|
|
103
|
+
if workspaced_route is not UNSET:
|
|
104
|
+
field_dict["workspaced_route"] = workspaced_route
|
|
99
105
|
|
|
100
106
|
return field_dict
|
|
101
107
|
|
|
@@ -140,6 +146,8 @@ class ListHttpTriggersResponse200Item:
|
|
|
140
146
|
else:
|
|
141
147
|
static_asset_config = ListHttpTriggersResponse200ItemStaticAssetConfig.from_dict(_static_asset_config)
|
|
142
148
|
|
|
149
|
+
workspaced_route = d.pop("workspaced_route", UNSET)
|
|
150
|
+
|
|
143
151
|
list_http_triggers_response_200_item = cls(
|
|
144
152
|
route_path=route_path,
|
|
145
153
|
http_method=http_method,
|
|
@@ -155,6 +163,7 @@ class ListHttpTriggersResponse200Item:
|
|
|
155
163
|
edited_at=edited_at,
|
|
156
164
|
is_flow=is_flow,
|
|
157
165
|
static_asset_config=static_asset_config,
|
|
166
|
+
workspaced_route=workspaced_route,
|
|
158
167
|
)
|
|
159
168
|
|
|
160
169
|
list_http_triggers_response_200_item.additional_properties = d
|
|
@@ -25,6 +25,7 @@ class NewHttpTrigger:
|
|
|
25
25
|
is_async (bool):
|
|
26
26
|
requires_auth (bool):
|
|
27
27
|
is_static_website (bool):
|
|
28
|
+
workspaced_route (Union[Unset, bool]):
|
|
28
29
|
static_asset_config (Union[Unset, NewHttpTriggerStaticAssetConfig]):
|
|
29
30
|
"""
|
|
30
31
|
|
|
@@ -36,6 +37,7 @@ class NewHttpTrigger:
|
|
|
36
37
|
is_async: bool
|
|
37
38
|
requires_auth: bool
|
|
38
39
|
is_static_website: bool
|
|
40
|
+
workspaced_route: Union[Unset, bool] = UNSET
|
|
39
41
|
static_asset_config: Union[Unset, "NewHttpTriggerStaticAssetConfig"] = UNSET
|
|
40
42
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
41
43
|
|
|
@@ -49,6 +51,7 @@ class NewHttpTrigger:
|
|
|
49
51
|
is_async = self.is_async
|
|
50
52
|
requires_auth = self.requires_auth
|
|
51
53
|
is_static_website = self.is_static_website
|
|
54
|
+
workspaced_route = self.workspaced_route
|
|
52
55
|
static_asset_config: Union[Unset, Dict[str, Any]] = UNSET
|
|
53
56
|
if not isinstance(self.static_asset_config, Unset):
|
|
54
57
|
static_asset_config = self.static_asset_config.to_dict()
|
|
@@ -67,6 +70,8 @@ class NewHttpTrigger:
|
|
|
67
70
|
"is_static_website": is_static_website,
|
|
68
71
|
}
|
|
69
72
|
)
|
|
73
|
+
if workspaced_route is not UNSET:
|
|
74
|
+
field_dict["workspaced_route"] = workspaced_route
|
|
70
75
|
if static_asset_config is not UNSET:
|
|
71
76
|
field_dict["static_asset_config"] = static_asset_config
|
|
72
77
|
|
|
@@ -93,6 +98,8 @@ class NewHttpTrigger:
|
|
|
93
98
|
|
|
94
99
|
is_static_website = d.pop("is_static_website")
|
|
95
100
|
|
|
101
|
+
workspaced_route = d.pop("workspaced_route", UNSET)
|
|
102
|
+
|
|
96
103
|
_static_asset_config = d.pop("static_asset_config", UNSET)
|
|
97
104
|
static_asset_config: Union[Unset, NewHttpTriggerStaticAssetConfig]
|
|
98
105
|
if isinstance(_static_asset_config, Unset):
|
|
@@ -109,6 +116,7 @@ class NewHttpTrigger:
|
|
|
109
116
|
is_async=is_async,
|
|
110
117
|
requires_auth=requires_auth,
|
|
111
118
|
is_static_website=is_static_website,
|
|
119
|
+
workspaced_route=workspaced_route,
|
|
112
120
|
static_asset_config=static_asset_config,
|
|
113
121
|
)
|
|
114
122
|
|
|
@@ -25,6 +25,7 @@ class UpdateHttpTriggerJsonBody:
|
|
|
25
25
|
requires_auth (bool):
|
|
26
26
|
is_static_website (bool):
|
|
27
27
|
route_path (Union[Unset, str]):
|
|
28
|
+
workspaced_route (Union[Unset, bool]):
|
|
28
29
|
static_asset_config (Union[Unset, UpdateHttpTriggerJsonBodyStaticAssetConfig]):
|
|
29
30
|
"""
|
|
30
31
|
|
|
@@ -36,6 +37,7 @@ class UpdateHttpTriggerJsonBody:
|
|
|
36
37
|
requires_auth: bool
|
|
37
38
|
is_static_website: bool
|
|
38
39
|
route_path: Union[Unset, str] = UNSET
|
|
40
|
+
workspaced_route: Union[Unset, bool] = UNSET
|
|
39
41
|
static_asset_config: Union[Unset, "UpdateHttpTriggerJsonBodyStaticAssetConfig"] = UNSET
|
|
40
42
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
41
43
|
|
|
@@ -49,6 +51,7 @@ class UpdateHttpTriggerJsonBody:
|
|
|
49
51
|
requires_auth = self.requires_auth
|
|
50
52
|
is_static_website = self.is_static_website
|
|
51
53
|
route_path = self.route_path
|
|
54
|
+
workspaced_route = self.workspaced_route
|
|
52
55
|
static_asset_config: Union[Unset, Dict[str, Any]] = UNSET
|
|
53
56
|
if not isinstance(self.static_asset_config, Unset):
|
|
54
57
|
static_asset_config = self.static_asset_config.to_dict()
|
|
@@ -68,6 +71,8 @@ class UpdateHttpTriggerJsonBody:
|
|
|
68
71
|
)
|
|
69
72
|
if route_path is not UNSET:
|
|
70
73
|
field_dict["route_path"] = route_path
|
|
74
|
+
if workspaced_route is not UNSET:
|
|
75
|
+
field_dict["workspaced_route"] = workspaced_route
|
|
71
76
|
if static_asset_config is not UNSET:
|
|
72
77
|
field_dict["static_asset_config"] = static_asset_config
|
|
73
78
|
|
|
@@ -96,6 +101,8 @@ class UpdateHttpTriggerJsonBody:
|
|
|
96
101
|
|
|
97
102
|
route_path = d.pop("route_path", UNSET)
|
|
98
103
|
|
|
104
|
+
workspaced_route = d.pop("workspaced_route", UNSET)
|
|
105
|
+
|
|
99
106
|
_static_asset_config = d.pop("static_asset_config", UNSET)
|
|
100
107
|
static_asset_config: Union[Unset, UpdateHttpTriggerJsonBodyStaticAssetConfig]
|
|
101
108
|
if isinstance(_static_asset_config, Unset):
|
|
@@ -112,6 +119,7 @@ class UpdateHttpTriggerJsonBody:
|
|
|
112
119
|
requires_auth=requires_auth,
|
|
113
120
|
is_static_website=is_static_website,
|
|
114
121
|
route_path=route_path,
|
|
122
|
+
workspaced_route=workspaced_route,
|
|
115
123
|
static_asset_config=static_asset_config,
|
|
116
124
|
)
|
|
117
125
|
|
|
@@ -78,6 +78,7 @@ windmill_api/api/folder/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG
|
|
|
78
78
|
windmill_api/api/folder/add_owner_to_folder.py,sha256=0d38jdOoei1PIqmSUGBRxuCviZ3LARAHUJNR2twi7sE,2881
|
|
79
79
|
windmill_api/api/folder/create_folder.py,sha256=6lWyfYlT3cc7TpEU1dgZKVerkGFkYJ7L_ZO8bQZFbGw,2684
|
|
80
80
|
windmill_api/api/folder/delete_folder.py,sha256=EOoPsdqCbek2-obV0ZkcoVB0C6OSsJ0Vax10jm9lQjs,2438
|
|
81
|
+
windmill_api/api/folder/exists_folder.py,sha256=QmgvdSKHeOPhGjhzTn9J_UIpPQyltOXxoK9CkKNoOqY,3762
|
|
81
82
|
windmill_api/api/folder/get_folder.py,sha256=Rz4bS-PiptyEFiNa30CC7XLHBfFvpCFIdYiJEJN8WfA,4001
|
|
82
83
|
windmill_api/api/folder/get_folder_usage.py,sha256=mo3ByvoeQXEC0sBb6AztihdaEbPTkeQ7oXx2rE1bBkw,4096
|
|
83
84
|
windmill_api/api/folder/list_folder_names.py,sha256=8lAea2sdDr3ntIumUTpfP-tnQMBAD4wY5NsdjV-1w1s,4422
|
|
@@ -726,7 +727,7 @@ windmill_api/models/create_draft_json_body_typ.py,sha256=tlDcZEr6DnujkY7-5GwNN05
|
|
|
726
727
|
windmill_api/models/create_flow_json_body.py,sha256=iT2MBhwnk-mkQfAjoXubkJC6goNLXTmHGiyAlFhdB14,1990
|
|
727
728
|
windmill_api/models/create_folder_json_body.py,sha256=ZtOmZr-WNjBj4inI449MqiraLHIIAkahu-eD808puDA,2445
|
|
728
729
|
windmill_api/models/create_group_json_body.py,sha256=KXgcsdIu7W99Ut5xbgH2911BEgrd-BxYAfN5r5TOyuw,1760
|
|
729
|
-
windmill_api/models/create_http_trigger_json_body.py,sha256=
|
|
730
|
+
windmill_api/models/create_http_trigger_json_body.py,sha256=DicSp5dVa4ZfeVccwx_5P75nbdRl99BGPyvAOWfeYxE,4804
|
|
730
731
|
windmill_api/models/create_http_trigger_json_body_http_method.py,sha256=ZhVY_jUbOVXcckh4w56I0N9fGd0dYYYNViIhOM3495I,232
|
|
731
732
|
windmill_api/models/create_http_trigger_json_body_static_asset_config.py,sha256=SqNzKOi6BLVpyb7Gb72V452jrnWh3KRijIwr5Eiwox4,2134
|
|
732
733
|
windmill_api/models/create_input.py,sha256=xs-GIXxzoMlg4-fsHYmxOJe-9PK3YyaIKxsKZKzn32I,1780
|
|
@@ -895,7 +896,7 @@ windmill_api/models/edit_default_scripts_json_body.py,sha256=ZStD18RpNC3spa5hcVc
|
|
|
895
896
|
windmill_api/models/edit_deploy_to_json_body.py,sha256=sLAkpLZdvhIu671Sz-AycSlpKfo1rSh4UM2JiZ_q9mA,1613
|
|
896
897
|
windmill_api/models/edit_error_handler_json_body.py,sha256=01ZCafsbWj458_zacBteZJBuiAt3bio2G5FEYvF--jA,3552
|
|
897
898
|
windmill_api/models/edit_error_handler_json_body_error_handler_extra_args.py,sha256=B7ouUC3nLUEshF7duEgrT3Yank6PfolQqqzmZ2G50Qk,1401
|
|
898
|
-
windmill_api/models/edit_http_trigger.py,sha256=
|
|
899
|
+
windmill_api/models/edit_http_trigger.py,sha256=S5FfZcBiux_xFPHmlGnKXtvwpxEnCszQm7vA8QGtUjo,4674
|
|
899
900
|
windmill_api/models/edit_http_trigger_http_method.py,sha256=0ap4m_mxJpb5Fmr1DwT09OVC0nqwGcNvYgh0aoTRbq0,222
|
|
900
901
|
windmill_api/models/edit_http_trigger_static_asset_config.py,sha256=ug13LgqJdVbpl2T-8nURo5vYpuIK9pL2AxlyVQD315U,2078
|
|
901
902
|
windmill_api/models/edit_kafka_trigger.py,sha256=mK-QVE2J7h3mpkPljkBd6jc1MGkzw_hw4QqB06CqR5w,2503
|
|
@@ -952,7 +953,7 @@ windmill_api/models/execute_component_json_body.py,sha256=6EVpxhIQr5uVzk8MvkufSS
|
|
|
952
953
|
windmill_api/models/execute_component_json_body_force_viewer_one_of_fields.py,sha256=JXxJ5OKE-NAakLvdewfcKE1F0-12c4h2gVSemd08vMY,1406
|
|
953
954
|
windmill_api/models/execute_component_json_body_force_viewer_static_fields.py,sha256=IZ7vOTROrwW67yi19A4UrduqUzTJfq93_4h43GcUBtM,1408
|
|
954
955
|
windmill_api/models/execute_component_json_body_raw_code.py,sha256=pjSftBupOwcxqs0NqBUy0mYwZ2O-_Bzr2sMYNg0M-AU,2506
|
|
955
|
-
windmill_api/models/exists_route_json_body.py,sha256=
|
|
956
|
+
windmill_api/models/exists_route_json_body.py,sha256=EGxwHaI65TwdgXOq79olyZmb7-XP9BnE66_vbkqYJgs,2620
|
|
956
957
|
windmill_api/models/exists_route_json_body_http_method.py,sha256=n0RrXlla9R02kcJ0kE0MwPMWj_4A3BqslQRTDqB-2N0,226
|
|
957
958
|
windmill_api/models/exists_username_json_body.py,sha256=iPdsXFuNBjXmX4qc2_suYcz6hKDzEL5696fUqS44ST8,1640
|
|
958
959
|
windmill_api/models/exists_workspace_json_body.py,sha256=lve_qJX78QXYMmsAV2ZJKaN314a-PrCWj9w9-pHwoHo,1463
|
|
@@ -1746,7 +1747,7 @@ windmill_api/models/get_granular_acls_kind.py,sha256=cKICTU7DAQ0krf0BZCy6LSYxlPG
|
|
|
1746
1747
|
windmill_api/models/get_granular_acls_response_200.py,sha256=GBNLqaaap42IbGX8jniniFTUrtOFgiCLb5n5-2NKRIY,1297
|
|
1747
1748
|
windmill_api/models/get_group_response_200.py,sha256=FKhClOF65VqXmEIW49y4W8zyMai0Sq_QjMuUG7wIoYY,3087
|
|
1748
1749
|
windmill_api/models/get_group_response_200_extra_perms.py,sha256=q1U2BWdOWRzK3eHiZlTOS8o9ag5cFvBQFqVBHpDitBc,1315
|
|
1749
|
-
windmill_api/models/get_http_trigger_response_200.py,sha256=
|
|
1750
|
+
windmill_api/models/get_http_trigger_response_200.py,sha256=UOWC0-2MdlgdgTuxBHwnZkScS9VvwGiBFSlc1DuQlZs,6213
|
|
1750
1751
|
windmill_api/models/get_http_trigger_response_200_extra_perms.py,sha256=5UVrOgBBmWOUDmXGFKJqcUJ2Zb6Cv2cOKNBTDoMHfe4,1348
|
|
1751
1752
|
windmill_api/models/get_http_trigger_response_200_http_method.py,sha256=SiFfXYbLQeIe2eshsdUkkiQbdmBRvE2msJwsKRc-prY,232
|
|
1752
1753
|
windmill_api/models/get_http_trigger_response_200_static_asset_config.py,sha256=cBlkkRl7Io3S_Kmx46s3IX8S9_lgj3CD66D-KrZBwgA,2134
|
|
@@ -2316,7 +2317,7 @@ windmill_api/models/global_whoami_response_200.py,sha256=P2YzOuDmowq7fAsrlFQnBgi
|
|
|
2316
2317
|
windmill_api/models/global_whoami_response_200_login_type.py,sha256=grlKtkJE27qxpXSUFBUoLo1-wQf45s82n_hoU7V7PaE,185
|
|
2317
2318
|
windmill_api/models/group.py,sha256=yEfHcI9FEtk1tV6RS9B3r_vAPK0rqNCCLgIJoLAUZ8M,2890
|
|
2318
2319
|
windmill_api/models/group_extra_perms.py,sha256=hn0wzgNVtx0HO3XwPsVOie8BJpV6-FypTN5u_851dvg,1236
|
|
2319
|
-
windmill_api/models/http_trigger.py,sha256=
|
|
2320
|
+
windmill_api/models/http_trigger.py,sha256=IEqhpX94ot1iAhhm05wA_GEIAKtw7r2ACSkSExgr8bU,5814
|
|
2320
2321
|
windmill_api/models/http_trigger_extra_perms.py,sha256=zoXtrNWbIaURFZKJ2TJlzI3oScR9gJMuhvZdWxRqoGE,1269
|
|
2321
2322
|
windmill_api/models/http_trigger_http_method.py,sha256=XqInjulsyRD4_aj3Qnao8L8iyoyQkmcciKvHDOW5xjU,218
|
|
2322
2323
|
windmill_api/models/http_trigger_static_asset_config.py,sha256=PhPZgj9R-KfC-vajljIemoSKeDe0SMRh76m5K2-oaEA,2055
|
|
@@ -2762,7 +2763,7 @@ windmill_api/models/list_global_settings_response_200_item.py,sha256=U8fLOxv7Tr1
|
|
|
2762
2763
|
windmill_api/models/list_global_settings_response_200_item_value.py,sha256=BwZxPwY1kY_fl9sB6cg8dWtMPGLgKYUpx3ya1qDLcHc,1360
|
|
2763
2764
|
windmill_api/models/list_groups_response_200_item.py,sha256=xtTEjbZ6Y6EDyMOfSJ0C-xnsZFFHpeDxt85OC-Dl5sw,3170
|
|
2764
2765
|
windmill_api/models/list_groups_response_200_item_extra_perms.py,sha256=XQmY08M-IhwS1TigMZI7hEcnBJu2Gu13lsTg87xIeXk,1348
|
|
2765
|
-
windmill_api/models/list_http_triggers_response_200_item.py,sha256=
|
|
2766
|
+
windmill_api/models/list_http_triggers_response_200_item.py,sha256=jCCUFpxBq2f8p2Itl2qIadopTxaeWYqwna31jVCO9Sw,6388
|
|
2766
2767
|
windmill_api/models/list_http_triggers_response_200_item_extra_perms.py,sha256=ZHjuezxB-TZOyqS74P_s--E9uC0jiHR-SFnTg2InGiQ,1381
|
|
2767
2768
|
windmill_api/models/list_http_triggers_response_200_item_http_method.py,sha256=SQJQdl7yA0_V-lObcmCHc-_crescQPx9XNq4dY4x3is,238
|
|
2768
2769
|
windmill_api/models/list_http_triggers_response_200_item_static_asset_config.py,sha256=RbKIj8Hrrj3hYRImM950hIKiGb6_27eF98-B-7VKRcw,2167
|
|
@@ -3159,7 +3160,7 @@ windmill_api/models/mqtt_v3_config.py,sha256=3j8pQH0HuWvP-xIycrQr54OwEkwXz3bmmAt
|
|
|
3159
3160
|
windmill_api/models/mqtt_v5_config.py,sha256=YYb3xNFywK6WuR8X12RyZTGb4jswLxkYSWOLU4wW2LM,2331
|
|
3160
3161
|
windmill_api/models/nats_trigger.py,sha256=vTQapTH6zDLcUHlnx-26S2KfSJ6YL_nx2KSyNR7CUHc,5953
|
|
3161
3162
|
windmill_api/models/nats_trigger_extra_perms.py,sha256=6YD7NVvfKfJS3uP0okA3GXfIfIhzi8D1GJhGr7Bkuto,1269
|
|
3162
|
-
windmill_api/models/new_http_trigger.py,sha256=
|
|
3163
|
+
windmill_api/models/new_http_trigger.py,sha256=OaVKq9o-1_DbtChLDh45pw4P5nF7DS9VAjpVssA7JtE,4569
|
|
3163
3164
|
windmill_api/models/new_http_trigger_http_method.py,sha256=QlXmwmePd0Cd-Y571W4w5fj9o1Wxu6C3V5yBOrwHx7g,221
|
|
3164
3165
|
windmill_api/models/new_http_trigger_static_asset_config.py,sha256=5gdylsbIDInlQhTvrZ4nYnVGV6eHSmP6pb0So1S7Gi8,2073
|
|
3165
3166
|
windmill_api/models/new_kafka_trigger.py,sha256=SEJ2x9-xcrPA_d72mwWP6MRGwYcQc4h0u_bZZLgwm40,2797
|
|
@@ -3688,7 +3689,7 @@ windmill_api/models/update_flow_history_json_body.py,sha256=fdEVj323tnHZ8AUUoYBy
|
|
|
3688
3689
|
windmill_api/models/update_flow_json_body.py,sha256=Uev6wAFT1_1HOWIBHjCkW3R3XZMm_DJpnLDPr4wMdb8,1699
|
|
3689
3690
|
windmill_api/models/update_folder_json_body.py,sha256=wHsBhdewo-Zp62VETr6LhrRktfg5N9pC2iUQ9kdAPx0,2268
|
|
3690
3691
|
windmill_api/models/update_group_json_body.py,sha256=6HoxgdpSBftto-CgPVzh8beTX6oWROAaBf-tZQn5evI,1583
|
|
3691
|
-
windmill_api/models/update_http_trigger_json_body.py,sha256=
|
|
3692
|
+
windmill_api/models/update_http_trigger_json_body.py,sha256=u9kclu6HvLmJCPdEwZJa0kjKDDmL5RfU8HZTvv1JkkI,4891
|
|
3692
3693
|
windmill_api/models/update_http_trigger_json_body_http_method.py,sha256=3VNz40Qjv2E3_r5cgVYUpNy2Y--0GWFOnVHeWP7LeZI,232
|
|
3693
3694
|
windmill_api/models/update_http_trigger_json_body_static_asset_config.py,sha256=pn_iTJUz1o09IdUMCuK-KCr-GnkwaZbrYVMnlCIq2NA,2134
|
|
3694
3695
|
windmill_api/models/update_input.py,sha256=E9h0b_RG4vrtV3Xj_zAwS5jHLq3DMyuJ8Y4G4xFP3RE,1733
|
|
@@ -3798,7 +3799,7 @@ windmill_api/models/workspace_invite.py,sha256=HnAJWGv5LwxWkz1T3fhgHKIccO7RFC1li
|
|
|
3798
3799
|
windmill_api/models/workspace_mute_critical_alerts_ui_json_body.py,sha256=y8ZwkWEZgavVc-FgLuZZ4z8YPCLxjPcMfdGdKjGM6VQ,1883
|
|
3799
3800
|
windmill_api/py.typed,sha256=8ZJUsxZiuOy1oJeVhsTWQhTG_6pTVHVXk5hJL79ebTk,25
|
|
3800
3801
|
windmill_api/types.py,sha256=GoYub3t4hQP2Yn5tsvShsBfIY3vHUmblU0MXszDx_V0,968
|
|
3801
|
-
windmill_api-1.
|
|
3802
|
-
windmill_api-1.
|
|
3803
|
-
windmill_api-1.
|
|
3804
|
-
windmill_api-1.
|
|
3802
|
+
windmill_api-1.476.0.dist-info/LICENSE,sha256=qJVFNTaOevCeSY6NoXeUG1SPOwQ1K-PxVQ2iEWJzX-A,11348
|
|
3803
|
+
windmill_api-1.476.0.dist-info/METADATA,sha256=6WGBYcB_eCXk7btuWxiW15eUAwOzGvJ_Cev2er1qDuU,5023
|
|
3804
|
+
windmill_api-1.476.0.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
|
|
3805
|
+
windmill_api-1.476.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|