windmill-api 1.556.0__py3-none-any.whl → 1.557.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/flow_conversation/list_conversation_messages.py +15 -0
- windmill_api/models/flow_conversation_message.py +16 -0
- windmill_api/models/flow_conversation_message_message_type.py +1 -0
- windmill_api/models/list_conversation_messages_response_200_item.py +16 -0
- windmill_api/models/list_conversation_messages_response_200_item_message_type.py +1 -0
- {windmill_api-1.556.0.dist-info → windmill_api-1.557.0.dist-info}/METADATA +1 -1
- {windmill_api-1.556.0.dist-info → windmill_api-1.557.0.dist-info}/RECORD +9 -9
- {windmill_api-1.556.0.dist-info → windmill_api-1.557.0.dist-info}/LICENSE +0 -0
- {windmill_api-1.556.0.dist-info → windmill_api-1.557.0.dist-info}/WHEEL +0 -0
|
@@ -15,6 +15,7 @@ def _get_kwargs(
|
|
|
15
15
|
*,
|
|
16
16
|
page: Union[Unset, None, int] = UNSET,
|
|
17
17
|
per_page: Union[Unset, None, int] = UNSET,
|
|
18
|
+
after_id: Union[Unset, None, str] = UNSET,
|
|
18
19
|
) -> Dict[str, Any]:
|
|
19
20
|
pass
|
|
20
21
|
|
|
@@ -23,6 +24,8 @@ def _get_kwargs(
|
|
|
23
24
|
|
|
24
25
|
params["per_page"] = per_page
|
|
25
26
|
|
|
27
|
+
params["after_id"] = after_id
|
|
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 {
|
|
@@ -71,6 +74,7 @@ def sync_detailed(
|
|
|
71
74
|
client: Union[AuthenticatedClient, Client],
|
|
72
75
|
page: Union[Unset, None, int] = UNSET,
|
|
73
76
|
per_page: Union[Unset, None, int] = UNSET,
|
|
77
|
+
after_id: Union[Unset, None, str] = UNSET,
|
|
74
78
|
) -> Response[List["ListConversationMessagesResponse200Item"]]:
|
|
75
79
|
"""list conversation messages
|
|
76
80
|
|
|
@@ -79,6 +83,7 @@ def sync_detailed(
|
|
|
79
83
|
conversation_id (str):
|
|
80
84
|
page (Union[Unset, None, int]):
|
|
81
85
|
per_page (Union[Unset, None, int]):
|
|
86
|
+
after_id (Union[Unset, None, str]):
|
|
82
87
|
|
|
83
88
|
Raises:
|
|
84
89
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -93,6 +98,7 @@ def sync_detailed(
|
|
|
93
98
|
conversation_id=conversation_id,
|
|
94
99
|
page=page,
|
|
95
100
|
per_page=per_page,
|
|
101
|
+
after_id=after_id,
|
|
96
102
|
)
|
|
97
103
|
|
|
98
104
|
response = client.get_httpx_client().request(
|
|
@@ -109,6 +115,7 @@ def sync(
|
|
|
109
115
|
client: Union[AuthenticatedClient, Client],
|
|
110
116
|
page: Union[Unset, None, int] = UNSET,
|
|
111
117
|
per_page: Union[Unset, None, int] = UNSET,
|
|
118
|
+
after_id: Union[Unset, None, str] = UNSET,
|
|
112
119
|
) -> Optional[List["ListConversationMessagesResponse200Item"]]:
|
|
113
120
|
"""list conversation messages
|
|
114
121
|
|
|
@@ -117,6 +124,7 @@ def sync(
|
|
|
117
124
|
conversation_id (str):
|
|
118
125
|
page (Union[Unset, None, int]):
|
|
119
126
|
per_page (Union[Unset, None, int]):
|
|
127
|
+
after_id (Union[Unset, None, str]):
|
|
120
128
|
|
|
121
129
|
Raises:
|
|
122
130
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -132,6 +140,7 @@ def sync(
|
|
|
132
140
|
client=client,
|
|
133
141
|
page=page,
|
|
134
142
|
per_page=per_page,
|
|
143
|
+
after_id=after_id,
|
|
135
144
|
).parsed
|
|
136
145
|
|
|
137
146
|
|
|
@@ -142,6 +151,7 @@ async def asyncio_detailed(
|
|
|
142
151
|
client: Union[AuthenticatedClient, Client],
|
|
143
152
|
page: Union[Unset, None, int] = UNSET,
|
|
144
153
|
per_page: Union[Unset, None, int] = UNSET,
|
|
154
|
+
after_id: Union[Unset, None, str] = UNSET,
|
|
145
155
|
) -> Response[List["ListConversationMessagesResponse200Item"]]:
|
|
146
156
|
"""list conversation messages
|
|
147
157
|
|
|
@@ -150,6 +160,7 @@ async def asyncio_detailed(
|
|
|
150
160
|
conversation_id (str):
|
|
151
161
|
page (Union[Unset, None, int]):
|
|
152
162
|
per_page (Union[Unset, None, int]):
|
|
163
|
+
after_id (Union[Unset, None, str]):
|
|
153
164
|
|
|
154
165
|
Raises:
|
|
155
166
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -164,6 +175,7 @@ async def asyncio_detailed(
|
|
|
164
175
|
conversation_id=conversation_id,
|
|
165
176
|
page=page,
|
|
166
177
|
per_page=per_page,
|
|
178
|
+
after_id=after_id,
|
|
167
179
|
)
|
|
168
180
|
|
|
169
181
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -178,6 +190,7 @@ async def asyncio(
|
|
|
178
190
|
client: Union[AuthenticatedClient, Client],
|
|
179
191
|
page: Union[Unset, None, int] = UNSET,
|
|
180
192
|
per_page: Union[Unset, None, int] = UNSET,
|
|
193
|
+
after_id: Union[Unset, None, str] = UNSET,
|
|
181
194
|
) -> Optional[List["ListConversationMessagesResponse200Item"]]:
|
|
182
195
|
"""list conversation messages
|
|
183
196
|
|
|
@@ -186,6 +199,7 @@ async def asyncio(
|
|
|
186
199
|
conversation_id (str):
|
|
187
200
|
page (Union[Unset, None, int]):
|
|
188
201
|
per_page (Union[Unset, None, int]):
|
|
202
|
+
after_id (Union[Unset, None, str]):
|
|
189
203
|
|
|
190
204
|
Raises:
|
|
191
205
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -202,5 +216,6 @@ async def asyncio(
|
|
|
202
216
|
client=client,
|
|
203
217
|
page=page,
|
|
204
218
|
per_page=per_page,
|
|
219
|
+
after_id=after_id,
|
|
205
220
|
)
|
|
206
221
|
).parsed
|
|
@@ -21,6 +21,8 @@ class FlowConversationMessage:
|
|
|
21
21
|
content (str): The message content
|
|
22
22
|
created_at (datetime.datetime): When the message was created
|
|
23
23
|
job_id (Union[Unset, None, str]): Associated job ID if this message came from a flow run
|
|
24
|
+
step_name (Union[Unset, str]): The step name that produced that message
|
|
25
|
+
success (Union[Unset, bool]): Whether the message is a success
|
|
24
26
|
"""
|
|
25
27
|
|
|
26
28
|
id: str
|
|
@@ -29,6 +31,8 @@ class FlowConversationMessage:
|
|
|
29
31
|
content: str
|
|
30
32
|
created_at: datetime.datetime
|
|
31
33
|
job_id: Union[Unset, None, str] = UNSET
|
|
34
|
+
step_name: Union[Unset, str] = UNSET
|
|
35
|
+
success: Union[Unset, bool] = UNSET
|
|
32
36
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
33
37
|
|
|
34
38
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -40,6 +44,8 @@ class FlowConversationMessage:
|
|
|
40
44
|
created_at = self.created_at.isoformat()
|
|
41
45
|
|
|
42
46
|
job_id = self.job_id
|
|
47
|
+
step_name = self.step_name
|
|
48
|
+
success = self.success
|
|
43
49
|
|
|
44
50
|
field_dict: Dict[str, Any] = {}
|
|
45
51
|
field_dict.update(self.additional_properties)
|
|
@@ -54,6 +60,10 @@ class FlowConversationMessage:
|
|
|
54
60
|
)
|
|
55
61
|
if job_id is not UNSET:
|
|
56
62
|
field_dict["job_id"] = job_id
|
|
63
|
+
if step_name is not UNSET:
|
|
64
|
+
field_dict["step_name"] = step_name
|
|
65
|
+
if success is not UNSET:
|
|
66
|
+
field_dict["success"] = success
|
|
57
67
|
|
|
58
68
|
return field_dict
|
|
59
69
|
|
|
@@ -72,6 +82,10 @@ class FlowConversationMessage:
|
|
|
72
82
|
|
|
73
83
|
job_id = d.pop("job_id", UNSET)
|
|
74
84
|
|
|
85
|
+
step_name = d.pop("step_name", UNSET)
|
|
86
|
+
|
|
87
|
+
success = d.pop("success", UNSET)
|
|
88
|
+
|
|
75
89
|
flow_conversation_message = cls(
|
|
76
90
|
id=id,
|
|
77
91
|
conversation_id=conversation_id,
|
|
@@ -79,6 +93,8 @@ class FlowConversationMessage:
|
|
|
79
93
|
content=content,
|
|
80
94
|
created_at=created_at,
|
|
81
95
|
job_id=job_id,
|
|
96
|
+
step_name=step_name,
|
|
97
|
+
success=success,
|
|
82
98
|
)
|
|
83
99
|
|
|
84
100
|
flow_conversation_message.additional_properties = d
|
|
@@ -23,6 +23,8 @@ class ListConversationMessagesResponse200Item:
|
|
|
23
23
|
content (str): The message content
|
|
24
24
|
created_at (datetime.datetime): When the message was created
|
|
25
25
|
job_id (Union[Unset, None, str]): Associated job ID if this message came from a flow run
|
|
26
|
+
step_name (Union[Unset, str]): The step name that produced that message
|
|
27
|
+
success (Union[Unset, bool]): Whether the message is a success
|
|
26
28
|
"""
|
|
27
29
|
|
|
28
30
|
id: str
|
|
@@ -31,6 +33,8 @@ class ListConversationMessagesResponse200Item:
|
|
|
31
33
|
content: str
|
|
32
34
|
created_at: datetime.datetime
|
|
33
35
|
job_id: Union[Unset, None, str] = UNSET
|
|
36
|
+
step_name: Union[Unset, str] = UNSET
|
|
37
|
+
success: Union[Unset, bool] = UNSET
|
|
34
38
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
35
39
|
|
|
36
40
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -42,6 +46,8 @@ class ListConversationMessagesResponse200Item:
|
|
|
42
46
|
created_at = self.created_at.isoformat()
|
|
43
47
|
|
|
44
48
|
job_id = self.job_id
|
|
49
|
+
step_name = self.step_name
|
|
50
|
+
success = self.success
|
|
45
51
|
|
|
46
52
|
field_dict: Dict[str, Any] = {}
|
|
47
53
|
field_dict.update(self.additional_properties)
|
|
@@ -56,6 +62,10 @@ class ListConversationMessagesResponse200Item:
|
|
|
56
62
|
)
|
|
57
63
|
if job_id is not UNSET:
|
|
58
64
|
field_dict["job_id"] = job_id
|
|
65
|
+
if step_name is not UNSET:
|
|
66
|
+
field_dict["step_name"] = step_name
|
|
67
|
+
if success is not UNSET:
|
|
68
|
+
field_dict["success"] = success
|
|
59
69
|
|
|
60
70
|
return field_dict
|
|
61
71
|
|
|
@@ -74,6 +84,10 @@ class ListConversationMessagesResponse200Item:
|
|
|
74
84
|
|
|
75
85
|
job_id = d.pop("job_id", UNSET)
|
|
76
86
|
|
|
87
|
+
step_name = d.pop("step_name", UNSET)
|
|
88
|
+
|
|
89
|
+
success = d.pop("success", UNSET)
|
|
90
|
+
|
|
77
91
|
list_conversation_messages_response_200_item = cls(
|
|
78
92
|
id=id,
|
|
79
93
|
conversation_id=conversation_id,
|
|
@@ -81,6 +95,8 @@ class ListConversationMessagesResponse200Item:
|
|
|
81
95
|
content=content,
|
|
82
96
|
created_at=created_at,
|
|
83
97
|
job_id=job_id,
|
|
98
|
+
step_name=step_name,
|
|
99
|
+
success=success,
|
|
84
100
|
)
|
|
85
101
|
|
|
86
102
|
list_conversation_messages_response_200_item.additional_properties = d
|
|
@@ -100,7 +100,7 @@ windmill_api/api/flow/update_flow.py,sha256=FonzhaGNzi5KtKiaHc4nZm92VyPEH6hqtRdH
|
|
|
100
100
|
windmill_api/api/flow/update_flow_history.py,sha256=kf8XkjEEWieu83ApOYo16Cb1XkIwJWFVlGU4WFDLFsc,3094
|
|
101
101
|
windmill_api/api/flow_conversation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
102
102
|
windmill_api/api/flow_conversation/delete_flow_conversation.py,sha256=y2VJpq-xh8EqGEDlZEWgH1kRLMZKdgY9gvkMXPonfE8,2603
|
|
103
|
-
windmill_api/api/flow_conversation/list_conversation_messages.py,sha256=
|
|
103
|
+
windmill_api/api/flow_conversation/list_conversation_messages.py,sha256=MfrHTgcCDAoATo55OejXqzXhy-gC7yBv7FK4LABRzFY,6584
|
|
104
104
|
windmill_api/api/flow_conversation/list_flow_conversations.py,sha256=aB5zZkFoeCGB3LWoT0ZBxFYzZIWPAM66Da_YjT1byGg,6063
|
|
105
105
|
windmill_api/api/folder/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
106
106
|
windmill_api/api/folder/add_owner_to_folder.py,sha256=0d38jdOoei1PIqmSUGBRxuCviZ3LARAHUJNR2twi7sE,2881
|
|
@@ -1630,8 +1630,8 @@ windmill_api/models/extended_jobs_obscured_jobs_item.py,sha256=dCbK-nhqSBUUX-oe5
|
|
|
1630
1630
|
windmill_api/models/extra_perms.py,sha256=p_2xQiiH7QwhaQC-rNbdnxmRWoOFPmcCUwU5NMynAfQ,1208
|
|
1631
1631
|
windmill_api/models/file_upload_response_200.py,sha256=B4OcjAOBEd9k9yWffoP4j1W1H62zlYDrZgZG5tPYPvU,1513
|
|
1632
1632
|
windmill_api/models/flow_conversation.py,sha256=8NVz1RbAGbwoME_VzgOFnl1aP12orET6N1rg4NQ7JtU,3160
|
|
1633
|
-
windmill_api/models/flow_conversation_message.py,sha256=
|
|
1634
|
-
windmill_api/models/flow_conversation_message_message_type.py,sha256=
|
|
1633
|
+
windmill_api/models/flow_conversation_message.py,sha256=CV7kdP3VXi-lRHbyinC63AaBOcNdOyUwgWVwxIrUWec,3719
|
|
1634
|
+
windmill_api/models/flow_conversation_message_message_type.py,sha256=g7HzRmL-YQ7aRBXgtsyb-Wh7LphpRUH_ZLPQNbzCIs4,225
|
|
1635
1635
|
windmill_api/models/flow_metadata.py,sha256=3oJQ6OVb5Jt8R__WDM51JRvy1SN5HlYO-WIuiBn4qWs,5799
|
|
1636
1636
|
windmill_api/models/flow_metadata_extra_perms.py,sha256=uHQbzaiqLqHt9qJn11firA2jgoSCUx2W7VQDPVgiWjM,1274
|
|
1637
1637
|
windmill_api/models/flow_module.py,sha256=NTZdVz5yBiH72x4RNKtfTVSKiDkayEKv-F-DSsQSZEE,12331
|
|
@@ -3733,8 +3733,8 @@ windmill_api/models/list_concurrency_groups_response_200_item.py,sha256=ZWwSmq0G
|
|
|
3733
3733
|
windmill_api/models/list_configs_response_200_item.py,sha256=v1IYs4ECqPJQZtubGsif-YNtDOb0WRzFXTQyNULwwY8,2410
|
|
3734
3734
|
windmill_api/models/list_configs_response_200_item_config.py,sha256=OLfHQ2n3xbrT68jzAGyj3lq_aU9HfHBFnJ6KRxpBycI,1327
|
|
3735
3735
|
windmill_api/models/list_contextual_variables_response_200_item.py,sha256=v5kBkBalXIC1_xUBg-TyPvl-wG7Xhg7y9qRQ1dZwy2Q,2122
|
|
3736
|
-
windmill_api/models/list_conversation_messages_response_200_item.py,sha256=
|
|
3737
|
-
windmill_api/models/list_conversation_messages_response_200_item_message_type.py,sha256=
|
|
3736
|
+
windmill_api/models/list_conversation_messages_response_200_item.py,sha256=gege7ZgKvwYnYNXvnE6cV__v6ulwEqfZJs9eEWs9Wus,3900
|
|
3737
|
+
windmill_api/models/list_conversation_messages_response_200_item_message_type.py,sha256=ymi_eneinL6Ix1DuCmfpvxpz_KIt-qdQmTJjMZsbJJw,241
|
|
3738
3738
|
windmill_api/models/list_email_triggers_response_200_item.py,sha256=fIkRZ89yjpJK91bNv33vvXnIoQbA0w0X3VGfyFwHjlw,6609
|
|
3739
3739
|
windmill_api/models/list_email_triggers_response_200_item_error_handler_args.py,sha256=WhqtHMNameA9sQubJCSXVjyxdnkJhhAGziWh2BKJxdg,1458
|
|
3740
3740
|
windmill_api/models/list_email_triggers_response_200_item_extra_perms.py,sha256=AFZs8AZ25D-YjSbvZOS2xqsjww7TRnbvdKeSKN7F_a4,1386
|
|
@@ -5546,7 +5546,7 @@ windmill_api/models/workspace_invite.py,sha256=wp-J-VJLkXsfQzw1PdNPGQhETsFCFXh1e
|
|
|
5546
5546
|
windmill_api/models/workspace_mute_critical_alerts_ui_json_body.py,sha256=y8ZwkWEZgavVc-FgLuZZ4z8YPCLxjPcMfdGdKjGM6VQ,1883
|
|
5547
5547
|
windmill_api/py.typed,sha256=8ZJUsxZiuOy1oJeVhsTWQhTG_6pTVHVXk5hJL79ebTk,25
|
|
5548
5548
|
windmill_api/types.py,sha256=GoYub3t4hQP2Yn5tsvShsBfIY3vHUmblU0MXszDx_V0,968
|
|
5549
|
-
windmill_api-1.
|
|
5550
|
-
windmill_api-1.
|
|
5551
|
-
windmill_api-1.
|
|
5552
|
-
windmill_api-1.
|
|
5549
|
+
windmill_api-1.557.0.dist-info/LICENSE,sha256=qJVFNTaOevCeSY6NoXeUG1SPOwQ1K-PxVQ2iEWJzX-A,11348
|
|
5550
|
+
windmill_api-1.557.0.dist-info/METADATA,sha256=vGGiusIRJgU7NIgLsVjVx6CjxZuAYl7nKW_gmvGvutQ,5023
|
|
5551
|
+
windmill_api-1.557.0.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
|
|
5552
|
+
windmill_api-1.557.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|