windmill-api 1.464.0__py3-none-any.whl → 1.466.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/sqs_trigger/__init__.py +0 -0
- windmill_api/api/sqs_trigger/create_sqs_trigger.py +105 -0
- windmill_api/api/sqs_trigger/delete_sqs_trigger.py +101 -0
- windmill_api/api/sqs_trigger/exists_sqs_trigger.py +160 -0
- windmill_api/api/sqs_trigger/get_sqs_trigger.py +166 -0
- windmill_api/api/sqs_trigger/list_sqs_triggers.py +237 -0
- windmill_api/api/sqs_trigger/set_sqs_trigger_enabled.py +113 -0
- windmill_api/api/sqs_trigger/test_sqs_connection.py +105 -0
- windmill_api/api/sqs_trigger/update_sqs_trigger.py +113 -0
- windmill_api/models/add_granular_acls_kind.py +1 -0
- windmill_api/models/ai_provider.py +1 -0
- windmill_api/models/ai_resource_provider.py +1 -0
- windmill_api/models/capture_config_trigger_kind.py +1 -0
- windmill_api/models/capture_trigger_kind.py +1 -0
- windmill_api/models/create_sqs_trigger_json_body.py +107 -0
- windmill_api/models/edit_copilot_config_json_body_ai_resource_provider.py +1 -0
- windmill_api/models/edit_sqs_trigger.py +105 -0
- windmill_api/models/get_capture_configs_response_200_item_trigger_kind.py +1 -0
- windmill_api/models/get_capture_response_200_trigger_kind.py +1 -0
- windmill_api/models/get_granular_acls_kind.py +1 -0
- windmill_api/models/get_http_trigger_response_200.py +21 -21
- windmill_api/models/get_kafka_trigger_response_200.py +47 -47
- windmill_api/models/get_nats_trigger_response_200.py +47 -47
- windmill_api/models/get_postgres_trigger_response_200.py +21 -21
- windmill_api/models/get_settings_response_200_ai_resource_provider.py +1 -0
- windmill_api/models/get_sqs_trigger_response_200.py +183 -0
- windmill_api/models/get_sqs_trigger_response_200_extra_perms.py +44 -0
- windmill_api/models/get_triggers_count_of_flow_response_200.py +8 -0
- windmill_api/models/get_triggers_count_of_script_response_200.py +8 -0
- windmill_api/models/get_used_triggers_response_200.py +7 -0
- windmill_api/models/get_websocket_trigger_response_200.py +21 -21
- windmill_api/models/http_trigger.py +21 -21
- windmill_api/models/kafka_trigger.py +47 -47
- windmill_api/models/list_captures_response_200_item_trigger_kind.py +1 -0
- windmill_api/models/list_captures_trigger_kind.py +1 -0
- windmill_api/models/list_http_triggers_response_200_item.py +21 -21
- windmill_api/models/list_kafka_triggers_response_200_item.py +47 -47
- windmill_api/models/list_nats_triggers_response_200_item.py +47 -47
- windmill_api/models/list_postgres_triggers_response_200_item.py +21 -21
- windmill_api/models/list_sqs_triggers_response_200_item.py +183 -0
- windmill_api/models/list_sqs_triggers_response_200_item_extra_perms.py +44 -0
- windmill_api/models/list_websocket_triggers_response_200_item.py +21 -21
- windmill_api/models/nats_trigger.py +47 -47
- windmill_api/models/new_sqs_trigger.py +107 -0
- windmill_api/models/ping_capture_config_trigger_kind.py +1 -0
- windmill_api/models/postgres_trigger.py +21 -21
- windmill_api/models/remove_granular_acls_kind.py +1 -0
- windmill_api/models/set_capture_config_json_body_trigger_kind.py +1 -0
- windmill_api/models/set_sqs_trigger_enabled_json_body.py +58 -0
- windmill_api/models/sqs_trigger.py +183 -0
- windmill_api/models/sqs_trigger_extra_perms.py +44 -0
- windmill_api/models/test_sqs_connection_json_body.py +64 -0
- windmill_api/models/test_sqs_connection_json_body_connection.py +44 -0
- windmill_api/models/trigger_extra_property.py +22 -0
- windmill_api/models/triggers_count.py +8 -0
- windmill_api/models/update_sqs_trigger_json_body.py +105 -0
- windmill_api/models/websocket_trigger.py +21 -21
- {windmill_api-1.464.0.dist-info → windmill_api-1.466.0.dist-info}/METADATA +1 -1
- {windmill_api-1.464.0.dist-info → windmill_api-1.466.0.dist-info}/RECORD +61 -39
- {windmill_api-1.464.0.dist-info → windmill_api-1.466.0.dist-info}/LICENSE +0 -0
- {windmill_api-1.464.0.dist-info → windmill_api-1.466.0.dist-info}/WHEEL +0 -0
|
@@ -28,18 +28,18 @@ T = TypeVar("T", bound="GetWebsocketTriggerResponse200")
|
|
|
28
28
|
class GetWebsocketTriggerResponse200:
|
|
29
29
|
"""
|
|
30
30
|
Attributes:
|
|
31
|
-
path (str):
|
|
32
|
-
script_path (str):
|
|
33
31
|
url (str):
|
|
34
|
-
is_flow (bool):
|
|
35
32
|
enabled (bool):
|
|
36
33
|
filters (List['GetWebsocketTriggerResponse200FiltersItem']):
|
|
37
34
|
can_return_message (bool):
|
|
35
|
+
path (str):
|
|
36
|
+
script_path (str):
|
|
38
37
|
email (str):
|
|
39
38
|
extra_perms (GetWebsocketTriggerResponse200ExtraPerms):
|
|
40
39
|
workspace_id (str):
|
|
41
40
|
edited_by (str):
|
|
42
41
|
edited_at (datetime.datetime):
|
|
42
|
+
is_flow (bool):
|
|
43
43
|
server_id (Union[Unset, str]):
|
|
44
44
|
last_server_ping (Union[Unset, datetime.datetime]):
|
|
45
45
|
error (Union[Unset, str]):
|
|
@@ -48,18 +48,18 @@ class GetWebsocketTriggerResponse200:
|
|
|
48
48
|
url_runnable_args (Union[Unset, GetWebsocketTriggerResponse200UrlRunnableArgs]):
|
|
49
49
|
"""
|
|
50
50
|
|
|
51
|
-
path: str
|
|
52
|
-
script_path: str
|
|
53
51
|
url: str
|
|
54
|
-
is_flow: bool
|
|
55
52
|
enabled: bool
|
|
56
53
|
filters: List["GetWebsocketTriggerResponse200FiltersItem"]
|
|
57
54
|
can_return_message: bool
|
|
55
|
+
path: str
|
|
56
|
+
script_path: str
|
|
58
57
|
email: str
|
|
59
58
|
extra_perms: "GetWebsocketTriggerResponse200ExtraPerms"
|
|
60
59
|
workspace_id: str
|
|
61
60
|
edited_by: str
|
|
62
61
|
edited_at: datetime.datetime
|
|
62
|
+
is_flow: bool
|
|
63
63
|
server_id: Union[Unset, str] = UNSET
|
|
64
64
|
last_server_ping: Union[Unset, datetime.datetime] = UNSET
|
|
65
65
|
error: Union[Unset, str] = UNSET
|
|
@@ -80,10 +80,7 @@ class GetWebsocketTriggerResponse200:
|
|
|
80
80
|
GetWebsocketTriggerResponse200InitialMessagesItemType0,
|
|
81
81
|
)
|
|
82
82
|
|
|
83
|
-
path = self.path
|
|
84
|
-
script_path = self.script_path
|
|
85
83
|
url = self.url
|
|
86
|
-
is_flow = self.is_flow
|
|
87
84
|
enabled = self.enabled
|
|
88
85
|
filters = []
|
|
89
86
|
for filters_item_data in self.filters:
|
|
@@ -92,6 +89,8 @@ class GetWebsocketTriggerResponse200:
|
|
|
92
89
|
filters.append(filters_item)
|
|
93
90
|
|
|
94
91
|
can_return_message = self.can_return_message
|
|
92
|
+
path = self.path
|
|
93
|
+
script_path = self.script_path
|
|
95
94
|
email = self.email
|
|
96
95
|
extra_perms = self.extra_perms.to_dict()
|
|
97
96
|
|
|
@@ -99,6 +98,7 @@ class GetWebsocketTriggerResponse200:
|
|
|
99
98
|
edited_by = self.edited_by
|
|
100
99
|
edited_at = self.edited_at.isoformat()
|
|
101
100
|
|
|
101
|
+
is_flow = self.is_flow
|
|
102
102
|
server_id = self.server_id
|
|
103
103
|
last_server_ping: Union[Unset, str] = UNSET
|
|
104
104
|
if not isinstance(self.last_server_ping, Unset):
|
|
@@ -127,18 +127,18 @@ class GetWebsocketTriggerResponse200:
|
|
|
127
127
|
field_dict.update(self.additional_properties)
|
|
128
128
|
field_dict.update(
|
|
129
129
|
{
|
|
130
|
-
"path": path,
|
|
131
|
-
"script_path": script_path,
|
|
132
130
|
"url": url,
|
|
133
|
-
"is_flow": is_flow,
|
|
134
131
|
"enabled": enabled,
|
|
135
132
|
"filters": filters,
|
|
136
133
|
"can_return_message": can_return_message,
|
|
134
|
+
"path": path,
|
|
135
|
+
"script_path": script_path,
|
|
137
136
|
"email": email,
|
|
138
137
|
"extra_perms": extra_perms,
|
|
139
138
|
"workspace_id": workspace_id,
|
|
140
139
|
"edited_by": edited_by,
|
|
141
140
|
"edited_at": edited_at,
|
|
141
|
+
"is_flow": is_flow,
|
|
142
142
|
}
|
|
143
143
|
)
|
|
144
144
|
if server_id is not UNSET:
|
|
@@ -169,14 +169,8 @@ class GetWebsocketTriggerResponse200:
|
|
|
169
169
|
)
|
|
170
170
|
|
|
171
171
|
d = src_dict.copy()
|
|
172
|
-
path = d.pop("path")
|
|
173
|
-
|
|
174
|
-
script_path = d.pop("script_path")
|
|
175
|
-
|
|
176
172
|
url = d.pop("url")
|
|
177
173
|
|
|
178
|
-
is_flow = d.pop("is_flow")
|
|
179
|
-
|
|
180
174
|
enabled = d.pop("enabled")
|
|
181
175
|
|
|
182
176
|
filters = []
|
|
@@ -188,6 +182,10 @@ class GetWebsocketTriggerResponse200:
|
|
|
188
182
|
|
|
189
183
|
can_return_message = d.pop("can_return_message")
|
|
190
184
|
|
|
185
|
+
path = d.pop("path")
|
|
186
|
+
|
|
187
|
+
script_path = d.pop("script_path")
|
|
188
|
+
|
|
191
189
|
email = d.pop("email")
|
|
192
190
|
|
|
193
191
|
extra_perms = GetWebsocketTriggerResponse200ExtraPerms.from_dict(d.pop("extra_perms"))
|
|
@@ -198,6 +196,8 @@ class GetWebsocketTriggerResponse200:
|
|
|
198
196
|
|
|
199
197
|
edited_at = isoparse(d.pop("edited_at"))
|
|
200
198
|
|
|
199
|
+
is_flow = d.pop("is_flow")
|
|
200
|
+
|
|
201
201
|
server_id = d.pop("server_id", UNSET)
|
|
202
202
|
|
|
203
203
|
_last_server_ping = d.pop("last_server_ping", UNSET)
|
|
@@ -247,18 +247,18 @@ class GetWebsocketTriggerResponse200:
|
|
|
247
247
|
url_runnable_args = GetWebsocketTriggerResponse200UrlRunnableArgs.from_dict(_url_runnable_args)
|
|
248
248
|
|
|
249
249
|
get_websocket_trigger_response_200 = cls(
|
|
250
|
-
path=path,
|
|
251
|
-
script_path=script_path,
|
|
252
250
|
url=url,
|
|
253
|
-
is_flow=is_flow,
|
|
254
251
|
enabled=enabled,
|
|
255
252
|
filters=filters,
|
|
256
253
|
can_return_message=can_return_message,
|
|
254
|
+
path=path,
|
|
255
|
+
script_path=script_path,
|
|
257
256
|
email=email,
|
|
258
257
|
extra_perms=extra_perms,
|
|
259
258
|
workspace_id=workspace_id,
|
|
260
259
|
edited_by=edited_by,
|
|
261
260
|
edited_at=edited_at,
|
|
261
|
+
is_flow=is_flow,
|
|
262
262
|
server_id=server_id,
|
|
263
263
|
last_server_ping=last_server_ping,
|
|
264
264
|
error=error,
|
|
@@ -20,48 +20,47 @@ T = TypeVar("T", bound="HttpTrigger")
|
|
|
20
20
|
class HttpTrigger:
|
|
21
21
|
"""
|
|
22
22
|
Attributes:
|
|
23
|
-
path (str):
|
|
24
|
-
script_path (str):
|
|
25
23
|
route_path (str):
|
|
26
|
-
is_flow (bool):
|
|
27
24
|
http_method (HttpTriggerHttpMethod):
|
|
28
25
|
is_async (bool):
|
|
29
26
|
requires_auth (bool):
|
|
30
27
|
is_static_website (bool):
|
|
28
|
+
path (str):
|
|
29
|
+
script_path (str):
|
|
31
30
|
email (str):
|
|
32
31
|
extra_perms (HttpTriggerExtraPerms):
|
|
33
32
|
workspace_id (str):
|
|
34
33
|
edited_by (str):
|
|
35
34
|
edited_at (datetime.datetime):
|
|
35
|
+
is_flow (bool):
|
|
36
36
|
static_asset_config (Union[Unset, HttpTriggerStaticAssetConfig]):
|
|
37
37
|
"""
|
|
38
38
|
|
|
39
|
-
path: str
|
|
40
|
-
script_path: str
|
|
41
39
|
route_path: str
|
|
42
|
-
is_flow: bool
|
|
43
40
|
http_method: HttpTriggerHttpMethod
|
|
44
41
|
is_async: bool
|
|
45
42
|
requires_auth: bool
|
|
46
43
|
is_static_website: bool
|
|
44
|
+
path: str
|
|
45
|
+
script_path: str
|
|
47
46
|
email: str
|
|
48
47
|
extra_perms: "HttpTriggerExtraPerms"
|
|
49
48
|
workspace_id: str
|
|
50
49
|
edited_by: str
|
|
51
50
|
edited_at: datetime.datetime
|
|
51
|
+
is_flow: bool
|
|
52
52
|
static_asset_config: Union[Unset, "HttpTriggerStaticAssetConfig"] = UNSET
|
|
53
53
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
54
54
|
|
|
55
55
|
def to_dict(self) -> Dict[str, Any]:
|
|
56
|
-
path = self.path
|
|
57
|
-
script_path = self.script_path
|
|
58
56
|
route_path = self.route_path
|
|
59
|
-
is_flow = self.is_flow
|
|
60
57
|
http_method = self.http_method.value
|
|
61
58
|
|
|
62
59
|
is_async = self.is_async
|
|
63
60
|
requires_auth = self.requires_auth
|
|
64
61
|
is_static_website = self.is_static_website
|
|
62
|
+
path = self.path
|
|
63
|
+
script_path = self.script_path
|
|
65
64
|
email = self.email
|
|
66
65
|
extra_perms = self.extra_perms.to_dict()
|
|
67
66
|
|
|
@@ -69,6 +68,7 @@ class HttpTrigger:
|
|
|
69
68
|
edited_by = self.edited_by
|
|
70
69
|
edited_at = self.edited_at.isoformat()
|
|
71
70
|
|
|
71
|
+
is_flow = self.is_flow
|
|
72
72
|
static_asset_config: Union[Unset, Dict[str, Any]] = UNSET
|
|
73
73
|
if not isinstance(self.static_asset_config, Unset):
|
|
74
74
|
static_asset_config = self.static_asset_config.to_dict()
|
|
@@ -77,19 +77,19 @@ class HttpTrigger:
|
|
|
77
77
|
field_dict.update(self.additional_properties)
|
|
78
78
|
field_dict.update(
|
|
79
79
|
{
|
|
80
|
-
"path": path,
|
|
81
|
-
"script_path": script_path,
|
|
82
80
|
"route_path": route_path,
|
|
83
|
-
"is_flow": is_flow,
|
|
84
81
|
"http_method": http_method,
|
|
85
82
|
"is_async": is_async,
|
|
86
83
|
"requires_auth": requires_auth,
|
|
87
84
|
"is_static_website": is_static_website,
|
|
85
|
+
"path": path,
|
|
86
|
+
"script_path": script_path,
|
|
88
87
|
"email": email,
|
|
89
88
|
"extra_perms": extra_perms,
|
|
90
89
|
"workspace_id": workspace_id,
|
|
91
90
|
"edited_by": edited_by,
|
|
92
91
|
"edited_at": edited_at,
|
|
92
|
+
"is_flow": is_flow,
|
|
93
93
|
}
|
|
94
94
|
)
|
|
95
95
|
if static_asset_config is not UNSET:
|
|
@@ -103,14 +103,8 @@ class HttpTrigger:
|
|
|
103
103
|
from ..models.http_trigger_static_asset_config import HttpTriggerStaticAssetConfig
|
|
104
104
|
|
|
105
105
|
d = src_dict.copy()
|
|
106
|
-
path = d.pop("path")
|
|
107
|
-
|
|
108
|
-
script_path = d.pop("script_path")
|
|
109
|
-
|
|
110
106
|
route_path = d.pop("route_path")
|
|
111
107
|
|
|
112
|
-
is_flow = d.pop("is_flow")
|
|
113
|
-
|
|
114
108
|
http_method = HttpTriggerHttpMethod(d.pop("http_method"))
|
|
115
109
|
|
|
116
110
|
is_async = d.pop("is_async")
|
|
@@ -119,6 +113,10 @@ class HttpTrigger:
|
|
|
119
113
|
|
|
120
114
|
is_static_website = d.pop("is_static_website")
|
|
121
115
|
|
|
116
|
+
path = d.pop("path")
|
|
117
|
+
|
|
118
|
+
script_path = d.pop("script_path")
|
|
119
|
+
|
|
122
120
|
email = d.pop("email")
|
|
123
121
|
|
|
124
122
|
extra_perms = HttpTriggerExtraPerms.from_dict(d.pop("extra_perms"))
|
|
@@ -129,6 +127,8 @@ class HttpTrigger:
|
|
|
129
127
|
|
|
130
128
|
edited_at = isoparse(d.pop("edited_at"))
|
|
131
129
|
|
|
130
|
+
is_flow = d.pop("is_flow")
|
|
131
|
+
|
|
132
132
|
_static_asset_config = d.pop("static_asset_config", UNSET)
|
|
133
133
|
static_asset_config: Union[Unset, HttpTriggerStaticAssetConfig]
|
|
134
134
|
if isinstance(_static_asset_config, Unset):
|
|
@@ -137,19 +137,19 @@ class HttpTrigger:
|
|
|
137
137
|
static_asset_config = HttpTriggerStaticAssetConfig.from_dict(_static_asset_config)
|
|
138
138
|
|
|
139
139
|
http_trigger = cls(
|
|
140
|
-
path=path,
|
|
141
|
-
script_path=script_path,
|
|
142
140
|
route_path=route_path,
|
|
143
|
-
is_flow=is_flow,
|
|
144
141
|
http_method=http_method,
|
|
145
142
|
is_async=is_async,
|
|
146
143
|
requires_auth=requires_auth,
|
|
147
144
|
is_static_website=is_static_website,
|
|
145
|
+
path=path,
|
|
146
|
+
script_path=script_path,
|
|
148
147
|
email=email,
|
|
149
148
|
extra_perms=extra_perms,
|
|
150
149
|
workspace_id=workspace_id,
|
|
151
150
|
edited_by=edited_by,
|
|
152
151
|
edited_at=edited_at,
|
|
152
|
+
is_flow=is_flow,
|
|
153
153
|
static_asset_config=static_asset_config,
|
|
154
154
|
)
|
|
155
155
|
|
|
@@ -18,56 +18,56 @@ T = TypeVar("T", bound="KafkaTrigger")
|
|
|
18
18
|
class KafkaTrigger:
|
|
19
19
|
"""
|
|
20
20
|
Attributes:
|
|
21
|
-
path (str):
|
|
22
|
-
edited_by (str):
|
|
23
|
-
edited_at (datetime.datetime):
|
|
24
|
-
script_path (str):
|
|
25
21
|
kafka_resource_path (str):
|
|
26
22
|
group_id (str):
|
|
27
23
|
topics (List[str]):
|
|
28
|
-
|
|
29
|
-
|
|
24
|
+
enabled (bool):
|
|
25
|
+
path (str):
|
|
26
|
+
script_path (str):
|
|
30
27
|
email (str):
|
|
28
|
+
extra_perms (KafkaTriggerExtraPerms):
|
|
31
29
|
workspace_id (str):
|
|
32
|
-
|
|
30
|
+
edited_by (str):
|
|
31
|
+
edited_at (datetime.datetime):
|
|
32
|
+
is_flow (bool):
|
|
33
33
|
server_id (Union[Unset, str]):
|
|
34
34
|
last_server_ping (Union[Unset, datetime.datetime]):
|
|
35
35
|
error (Union[Unset, str]):
|
|
36
36
|
"""
|
|
37
37
|
|
|
38
|
-
path: str
|
|
39
|
-
edited_by: str
|
|
40
|
-
edited_at: datetime.datetime
|
|
41
|
-
script_path: str
|
|
42
38
|
kafka_resource_path: str
|
|
43
39
|
group_id: str
|
|
44
40
|
topics: List[str]
|
|
45
|
-
|
|
46
|
-
|
|
41
|
+
enabled: bool
|
|
42
|
+
path: str
|
|
43
|
+
script_path: str
|
|
47
44
|
email: str
|
|
45
|
+
extra_perms: "KafkaTriggerExtraPerms"
|
|
48
46
|
workspace_id: str
|
|
49
|
-
|
|
47
|
+
edited_by: str
|
|
48
|
+
edited_at: datetime.datetime
|
|
49
|
+
is_flow: bool
|
|
50
50
|
server_id: Union[Unset, str] = UNSET
|
|
51
51
|
last_server_ping: Union[Unset, datetime.datetime] = UNSET
|
|
52
52
|
error: Union[Unset, str] = UNSET
|
|
53
53
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
54
54
|
|
|
55
55
|
def to_dict(self) -> Dict[str, Any]:
|
|
56
|
-
path = self.path
|
|
57
|
-
edited_by = self.edited_by
|
|
58
|
-
edited_at = self.edited_at.isoformat()
|
|
59
|
-
|
|
60
|
-
script_path = self.script_path
|
|
61
56
|
kafka_resource_path = self.kafka_resource_path
|
|
62
57
|
group_id = self.group_id
|
|
63
58
|
topics = self.topics
|
|
64
59
|
|
|
65
|
-
|
|
60
|
+
enabled = self.enabled
|
|
61
|
+
path = self.path
|
|
62
|
+
script_path = self.script_path
|
|
63
|
+
email = self.email
|
|
66
64
|
extra_perms = self.extra_perms.to_dict()
|
|
67
65
|
|
|
68
|
-
email = self.email
|
|
69
66
|
workspace_id = self.workspace_id
|
|
70
|
-
|
|
67
|
+
edited_by = self.edited_by
|
|
68
|
+
edited_at = self.edited_at.isoformat()
|
|
69
|
+
|
|
70
|
+
is_flow = self.is_flow
|
|
71
71
|
server_id = self.server_id
|
|
72
72
|
last_server_ping: Union[Unset, str] = UNSET
|
|
73
73
|
if not isinstance(self.last_server_ping, Unset):
|
|
@@ -79,18 +79,18 @@ class KafkaTrigger:
|
|
|
79
79
|
field_dict.update(self.additional_properties)
|
|
80
80
|
field_dict.update(
|
|
81
81
|
{
|
|
82
|
-
"path": path,
|
|
83
|
-
"edited_by": edited_by,
|
|
84
|
-
"edited_at": edited_at,
|
|
85
|
-
"script_path": script_path,
|
|
86
82
|
"kafka_resource_path": kafka_resource_path,
|
|
87
83
|
"group_id": group_id,
|
|
88
84
|
"topics": topics,
|
|
89
|
-
"
|
|
90
|
-
"
|
|
85
|
+
"enabled": enabled,
|
|
86
|
+
"path": path,
|
|
87
|
+
"script_path": script_path,
|
|
91
88
|
"email": email,
|
|
89
|
+
"extra_perms": extra_perms,
|
|
92
90
|
"workspace_id": workspace_id,
|
|
93
|
-
"
|
|
91
|
+
"edited_by": edited_by,
|
|
92
|
+
"edited_at": edited_at,
|
|
93
|
+
"is_flow": is_flow,
|
|
94
94
|
}
|
|
95
95
|
)
|
|
96
96
|
if server_id is not UNSET:
|
|
@@ -107,29 +107,29 @@ class KafkaTrigger:
|
|
|
107
107
|
from ..models.kafka_trigger_extra_perms import KafkaTriggerExtraPerms
|
|
108
108
|
|
|
109
109
|
d = src_dict.copy()
|
|
110
|
-
path = d.pop("path")
|
|
111
|
-
|
|
112
|
-
edited_by = d.pop("edited_by")
|
|
113
|
-
|
|
114
|
-
edited_at = isoparse(d.pop("edited_at"))
|
|
115
|
-
|
|
116
|
-
script_path = d.pop("script_path")
|
|
117
|
-
|
|
118
110
|
kafka_resource_path = d.pop("kafka_resource_path")
|
|
119
111
|
|
|
120
112
|
group_id = d.pop("group_id")
|
|
121
113
|
|
|
122
114
|
topics = cast(List[str], d.pop("topics"))
|
|
123
115
|
|
|
124
|
-
|
|
116
|
+
enabled = d.pop("enabled")
|
|
125
117
|
|
|
126
|
-
|
|
118
|
+
path = d.pop("path")
|
|
119
|
+
|
|
120
|
+
script_path = d.pop("script_path")
|
|
127
121
|
|
|
128
122
|
email = d.pop("email")
|
|
129
123
|
|
|
124
|
+
extra_perms = KafkaTriggerExtraPerms.from_dict(d.pop("extra_perms"))
|
|
125
|
+
|
|
130
126
|
workspace_id = d.pop("workspace_id")
|
|
131
127
|
|
|
132
|
-
|
|
128
|
+
edited_by = d.pop("edited_by")
|
|
129
|
+
|
|
130
|
+
edited_at = isoparse(d.pop("edited_at"))
|
|
131
|
+
|
|
132
|
+
is_flow = d.pop("is_flow")
|
|
133
133
|
|
|
134
134
|
server_id = d.pop("server_id", UNSET)
|
|
135
135
|
|
|
@@ -143,18 +143,18 @@ class KafkaTrigger:
|
|
|
143
143
|
error = d.pop("error", UNSET)
|
|
144
144
|
|
|
145
145
|
kafka_trigger = cls(
|
|
146
|
-
path=path,
|
|
147
|
-
edited_by=edited_by,
|
|
148
|
-
edited_at=edited_at,
|
|
149
|
-
script_path=script_path,
|
|
150
146
|
kafka_resource_path=kafka_resource_path,
|
|
151
147
|
group_id=group_id,
|
|
152
148
|
topics=topics,
|
|
153
|
-
|
|
154
|
-
|
|
149
|
+
enabled=enabled,
|
|
150
|
+
path=path,
|
|
151
|
+
script_path=script_path,
|
|
155
152
|
email=email,
|
|
153
|
+
extra_perms=extra_perms,
|
|
156
154
|
workspace_id=workspace_id,
|
|
157
|
-
|
|
155
|
+
edited_by=edited_by,
|
|
156
|
+
edited_at=edited_at,
|
|
157
|
+
is_flow=is_flow,
|
|
158
158
|
server_id=server_id,
|
|
159
159
|
last_server_ping=last_server_ping,
|
|
160
160
|
error=error,
|
|
@@ -22,48 +22,47 @@ T = TypeVar("T", bound="ListHttpTriggersResponse200Item")
|
|
|
22
22
|
class ListHttpTriggersResponse200Item:
|
|
23
23
|
"""
|
|
24
24
|
Attributes:
|
|
25
|
-
path (str):
|
|
26
|
-
script_path (str):
|
|
27
25
|
route_path (str):
|
|
28
|
-
is_flow (bool):
|
|
29
26
|
http_method (ListHttpTriggersResponse200ItemHttpMethod):
|
|
30
27
|
is_async (bool):
|
|
31
28
|
requires_auth (bool):
|
|
32
29
|
is_static_website (bool):
|
|
30
|
+
path (str):
|
|
31
|
+
script_path (str):
|
|
33
32
|
email (str):
|
|
34
33
|
extra_perms (ListHttpTriggersResponse200ItemExtraPerms):
|
|
35
34
|
workspace_id (str):
|
|
36
35
|
edited_by (str):
|
|
37
36
|
edited_at (datetime.datetime):
|
|
37
|
+
is_flow (bool):
|
|
38
38
|
static_asset_config (Union[Unset, ListHttpTriggersResponse200ItemStaticAssetConfig]):
|
|
39
39
|
"""
|
|
40
40
|
|
|
41
|
-
path: str
|
|
42
|
-
script_path: str
|
|
43
41
|
route_path: str
|
|
44
|
-
is_flow: bool
|
|
45
42
|
http_method: ListHttpTriggersResponse200ItemHttpMethod
|
|
46
43
|
is_async: bool
|
|
47
44
|
requires_auth: bool
|
|
48
45
|
is_static_website: bool
|
|
46
|
+
path: str
|
|
47
|
+
script_path: str
|
|
49
48
|
email: str
|
|
50
49
|
extra_perms: "ListHttpTriggersResponse200ItemExtraPerms"
|
|
51
50
|
workspace_id: str
|
|
52
51
|
edited_by: str
|
|
53
52
|
edited_at: datetime.datetime
|
|
53
|
+
is_flow: bool
|
|
54
54
|
static_asset_config: Union[Unset, "ListHttpTriggersResponse200ItemStaticAssetConfig"] = UNSET
|
|
55
55
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
56
56
|
|
|
57
57
|
def to_dict(self) -> Dict[str, Any]:
|
|
58
|
-
path = self.path
|
|
59
|
-
script_path = self.script_path
|
|
60
58
|
route_path = self.route_path
|
|
61
|
-
is_flow = self.is_flow
|
|
62
59
|
http_method = self.http_method.value
|
|
63
60
|
|
|
64
61
|
is_async = self.is_async
|
|
65
62
|
requires_auth = self.requires_auth
|
|
66
63
|
is_static_website = self.is_static_website
|
|
64
|
+
path = self.path
|
|
65
|
+
script_path = self.script_path
|
|
67
66
|
email = self.email
|
|
68
67
|
extra_perms = self.extra_perms.to_dict()
|
|
69
68
|
|
|
@@ -71,6 +70,7 @@ class ListHttpTriggersResponse200Item:
|
|
|
71
70
|
edited_by = self.edited_by
|
|
72
71
|
edited_at = self.edited_at.isoformat()
|
|
73
72
|
|
|
73
|
+
is_flow = self.is_flow
|
|
74
74
|
static_asset_config: Union[Unset, Dict[str, Any]] = UNSET
|
|
75
75
|
if not isinstance(self.static_asset_config, Unset):
|
|
76
76
|
static_asset_config = self.static_asset_config.to_dict()
|
|
@@ -79,19 +79,19 @@ class ListHttpTriggersResponse200Item:
|
|
|
79
79
|
field_dict.update(self.additional_properties)
|
|
80
80
|
field_dict.update(
|
|
81
81
|
{
|
|
82
|
-
"path": path,
|
|
83
|
-
"script_path": script_path,
|
|
84
82
|
"route_path": route_path,
|
|
85
|
-
"is_flow": is_flow,
|
|
86
83
|
"http_method": http_method,
|
|
87
84
|
"is_async": is_async,
|
|
88
85
|
"requires_auth": requires_auth,
|
|
89
86
|
"is_static_website": is_static_website,
|
|
87
|
+
"path": path,
|
|
88
|
+
"script_path": script_path,
|
|
90
89
|
"email": email,
|
|
91
90
|
"extra_perms": extra_perms,
|
|
92
91
|
"workspace_id": workspace_id,
|
|
93
92
|
"edited_by": edited_by,
|
|
94
93
|
"edited_at": edited_at,
|
|
94
|
+
"is_flow": is_flow,
|
|
95
95
|
}
|
|
96
96
|
)
|
|
97
97
|
if static_asset_config is not UNSET:
|
|
@@ -107,14 +107,8 @@ class ListHttpTriggersResponse200Item:
|
|
|
107
107
|
)
|
|
108
108
|
|
|
109
109
|
d = src_dict.copy()
|
|
110
|
-
path = d.pop("path")
|
|
111
|
-
|
|
112
|
-
script_path = d.pop("script_path")
|
|
113
|
-
|
|
114
110
|
route_path = d.pop("route_path")
|
|
115
111
|
|
|
116
|
-
is_flow = d.pop("is_flow")
|
|
117
|
-
|
|
118
112
|
http_method = ListHttpTriggersResponse200ItemHttpMethod(d.pop("http_method"))
|
|
119
113
|
|
|
120
114
|
is_async = d.pop("is_async")
|
|
@@ -123,6 +117,10 @@ class ListHttpTriggersResponse200Item:
|
|
|
123
117
|
|
|
124
118
|
is_static_website = d.pop("is_static_website")
|
|
125
119
|
|
|
120
|
+
path = d.pop("path")
|
|
121
|
+
|
|
122
|
+
script_path = d.pop("script_path")
|
|
123
|
+
|
|
126
124
|
email = d.pop("email")
|
|
127
125
|
|
|
128
126
|
extra_perms = ListHttpTriggersResponse200ItemExtraPerms.from_dict(d.pop("extra_perms"))
|
|
@@ -133,6 +131,8 @@ class ListHttpTriggersResponse200Item:
|
|
|
133
131
|
|
|
134
132
|
edited_at = isoparse(d.pop("edited_at"))
|
|
135
133
|
|
|
134
|
+
is_flow = d.pop("is_flow")
|
|
135
|
+
|
|
136
136
|
_static_asset_config = d.pop("static_asset_config", UNSET)
|
|
137
137
|
static_asset_config: Union[Unset, ListHttpTriggersResponse200ItemStaticAssetConfig]
|
|
138
138
|
if isinstance(_static_asset_config, Unset):
|
|
@@ -141,19 +141,19 @@ class ListHttpTriggersResponse200Item:
|
|
|
141
141
|
static_asset_config = ListHttpTriggersResponse200ItemStaticAssetConfig.from_dict(_static_asset_config)
|
|
142
142
|
|
|
143
143
|
list_http_triggers_response_200_item = cls(
|
|
144
|
-
path=path,
|
|
145
|
-
script_path=script_path,
|
|
146
144
|
route_path=route_path,
|
|
147
|
-
is_flow=is_flow,
|
|
148
145
|
http_method=http_method,
|
|
149
146
|
is_async=is_async,
|
|
150
147
|
requires_auth=requires_auth,
|
|
151
148
|
is_static_website=is_static_website,
|
|
149
|
+
path=path,
|
|
150
|
+
script_path=script_path,
|
|
152
151
|
email=email,
|
|
153
152
|
extra_perms=extra_perms,
|
|
154
153
|
workspace_id=workspace_id,
|
|
155
154
|
edited_by=edited_by,
|
|
156
155
|
edited_at=edited_at,
|
|
156
|
+
is_flow=is_flow,
|
|
157
157
|
static_asset_config=static_asset_config,
|
|
158
158
|
)
|
|
159
159
|
|