vellum-ai 1.8.5__py3-none-any.whl → 1.9.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.
- vellum/__init__.py +6 -0
- vellum/client/core/client_wrapper.py +2 -2
- vellum/client/types/__init__.py +6 -0
- vellum/client/types/api_actor_type_enum.py +7 -0
- vellum/client/types/api_request_parent_context.py +6 -0
- vellum/client/types/external_parent_context.py +2 -0
- vellum/client/types/integration_name.py +1 -0
- vellum/client/types/integration_trigger_context.py +38 -0
- vellum/client/types/node_execution_fulfilled_event.py +2 -0
- vellum/client/types/node_execution_initiated_event.py +2 -0
- vellum/client/types/node_execution_paused_event.py +2 -0
- vellum/client/types/node_execution_rejected_event.py +2 -0
- vellum/client/types/node_execution_resumed_event.py +2 -0
- vellum/client/types/node_execution_span.py +2 -0
- vellum/client/types/node_execution_streaming_event.py +2 -0
- vellum/client/types/node_parent_context.py +2 -0
- vellum/client/types/parent_context.py +4 -0
- vellum/client/types/prompt_deployment_parent_context.py +2 -0
- vellum/client/types/scheduled_trigger_context.py +38 -0
- vellum/client/types/slim_workflow_execution_read.py +2 -0
- vellum/client/types/span_link.py +2 -0
- vellum/client/types/workflow_deployment_event_executions_response.py +2 -0
- vellum/client/types/workflow_deployment_parent_context.py +2 -0
- vellum/client/types/workflow_event_execution_read.py +2 -0
- vellum/client/types/workflow_execution_detail.py +2 -0
- vellum/client/types/workflow_execution_fulfilled_event.py +2 -0
- vellum/client/types/workflow_execution_initiated_event.py +2 -0
- vellum/client/types/workflow_execution_paused_event.py +2 -0
- vellum/client/types/workflow_execution_rejected_event.py +2 -0
- vellum/client/types/workflow_execution_resumed_event.py +2 -0
- vellum/client/types/workflow_execution_snapshotted_event.py +2 -0
- vellum/client/types/workflow_execution_span.py +2 -0
- vellum/client/types/workflow_execution_streaming_event.py +2 -0
- vellum/client/types/workflow_parent_context.py +2 -0
- vellum/client/types/workflow_sandbox_parent_context.py +2 -0
- vellum/types/api_actor_type_enum.py +3 -0
- vellum/types/integration_trigger_context.py +3 -0
- vellum/types/scheduled_trigger_context.py +3 -0
- vellum/workflows/inputs/dataset_row.py +9 -7
- vellum/workflows/nodes/displayable/final_output_node/node.py +4 -0
- vellum/workflows/nodes/displayable/final_output_node/tests/test_node.py +28 -0
- vellum/workflows/nodes/displayable/set_state_node/__init__.py +5 -0
- vellum/workflows/nodes/displayable/set_state_node/node.py +71 -0
- vellum/workflows/nodes/displayable/set_state_node/tests/__init__.py +0 -0
- vellum/workflows/nodes/displayable/set_state_node/tests/test_node.py +212 -0
- vellum/workflows/sandbox.py +13 -3
- vellum/workflows/tests/test_dataset_row.py +20 -0
- vellum/workflows/tests/test_sandbox.py +40 -0
- vellum/workflows/tests/triggers/{test_vellum_integration_trigger.py → test_integration_trigger.py} +22 -22
- vellum/workflows/triggers/__init__.py +2 -2
- vellum/workflows/triggers/base.py +22 -4
- vellum/workflows/triggers/integration.py +168 -49
- vellum/workflows/triggers/schedule.py +18 -0
- vellum/workflows/triggers/tests/test_integration.py +49 -20
- vellum/workflows/utils/uuids.py +1 -15
- vellum/workflows/workflows/base.py +44 -0
- {vellum_ai-1.8.5.dist-info → vellum_ai-1.9.0.dist-info}/METADATA +1 -1
- {vellum_ai-1.8.5.dist-info → vellum_ai-1.9.0.dist-info}/RECORD +67 -57
- vellum_ee/workflows/display/tests/workflow_serialization/{test_vellum_integration_trigger_serialization.py → test_integration_trigger_serialization.py} +8 -8
- vellum_ee/workflows/display/utils/expressions.py +2 -3
- vellum_ee/workflows/display/workflows/base_workflow_display.py +9 -9
- vellum_ee/workflows/server/virtual_file_loader.py +74 -2
- vellum_ee/workflows/tests/test_server.py +81 -66
- vellum_ee/workflows/tests/test_virtual_files.py +48 -0
- vellum/workflows/triggers/vellum_integration.py +0 -189
- {vellum_ai-1.8.5.dist-info → vellum_ai-1.9.0.dist-info}/LICENSE +0 -0
- {vellum_ai-1.8.5.dist-info → vellum_ai-1.9.0.dist-info}/WHEEL +0 -0
- {vellum_ai-1.8.5.dist-info → vellum_ai-1.9.0.dist-info}/entry_points.txt +0 -0
|
@@ -110,10 +110,10 @@ vellum_ee/workflows/display/tests/workflow_serialization/test_basic_tool_calling
|
|
|
110
110
|
vellum_ee/workflows/display/tests/workflow_serialization/test_basic_try_node_serialization.py,sha256=pLCyMScV88DTBXRH7jXaXOEA1GBq8NIipCUFwIAWnwI,2771
|
|
111
111
|
vellum_ee/workflows/display/tests/workflow_serialization/test_complex_terminal_node_serialization.py,sha256=exT7U-axwtYgFylagScflSQLJEND51qIAx2UATju6JM,6023
|
|
112
112
|
vellum_ee/workflows/display/tests/workflow_serialization/test_final_output_node_map_reference_serialization.py,sha256=vl3pxUJlrYRA8zzFJ-gRm7fe-5fviLNSIsUC7imnMqk,3502
|
|
113
|
+
vellum_ee/workflows/display/tests/workflow_serialization/test_integration_trigger_serialization.py,sha256=BmJJi1FGf1t6illUhN3YVnGmS-rzDo8omadRKFA4aXQ,8983
|
|
113
114
|
vellum_ee/workflows/display/tests/workflow_serialization/test_list_vellum_document_serialization.py,sha256=ZRcDhOSVKFHvt_rBkNSL7j3VLeWKQbH-KRoJWrtWD2s,2193
|
|
114
115
|
vellum_ee/workflows/display/tests/workflow_serialization/test_manual_trigger_serialization.py,sha256=QjyxK94uPWaBmCmCWxQwuW0OopR06mVcsIjmsnr8UwE,3743
|
|
115
116
|
vellum_ee/workflows/display/tests/workflow_serialization/test_terminal_node_any_serialization.py,sha256=4WAmSEJZlDBLPhsD1f4GwY9ahB9F6qJKGnL6j7ZYlzQ,1740
|
|
116
|
-
vellum_ee/workflows/display/tests/workflow_serialization/test_vellum_integration_trigger_serialization.py,sha256=eG7_D76ErR7IrCpWRG4gLKoKGV7VfBL1buezNJ_wkZc,9038
|
|
117
117
|
vellum_ee/workflows/display/tests/workflow_serialization/test_web_search_node_serialization.py,sha256=vbDFBrWUPeeW7cxjNA6SXrsHlYcbOAhlQ4C45Vdnr1c,3428
|
|
118
118
|
vellum_ee/workflows/display/tests/workflow_serialization/test_workflow_input_parameterization_error.py,sha256=vAdmn3YTBDpo55znbydQxsgg9ASqHcvsUPwiBR_7wfo,1461
|
|
119
119
|
vellum_ee/workflows/display/types.py,sha256=LgRIZeEtV7bQe-nvrC4A0T6vMooSWT1rFtw-uTn45BQ,3752
|
|
@@ -121,7 +121,7 @@ vellum_ee/workflows/display/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeR
|
|
|
121
121
|
vellum_ee/workflows/display/utils/auto_layout.py,sha256=f4GiLn_LazweupfqTpubcdtdfE_vrOcmZudSsnYIY9E,3906
|
|
122
122
|
vellum_ee/workflows/display/utils/events.py,sha256=XcaQSfmk2s9ZNiU8__ZqH_zfp6KUVACczz9TBWVy7Jc,2208
|
|
123
123
|
vellum_ee/workflows/display/utils/exceptions.py,sha256=E8Lvo7LY1BoZ54M_NR_opDjJsAAiCUfow1HgoHcTHmg,989
|
|
124
|
-
vellum_ee/workflows/display/utils/expressions.py,sha256=
|
|
124
|
+
vellum_ee/workflows/display/utils/expressions.py,sha256=w7HEb01jcm4lorpCplf6YscR-IssQiuKlmMFBe-kHzI,21233
|
|
125
125
|
vellum_ee/workflows/display/utils/registry.py,sha256=1qXiBTdsnro6FeCX0FGBEK7CIf6wa--Jt50iZ_nEp_M,3460
|
|
126
126
|
vellum_ee/workflows/display/utils/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
127
127
|
vellum_ee/workflows/display/utils/tests/test_auto_layout.py,sha256=vfXI769418s9vda5Gb5NFBH747WMOwSgHRXeLCTLVm8,2356
|
|
@@ -130,11 +130,11 @@ vellum_ee/workflows/display/utils/tests/test_expressions.py,sha256=s8aHAwuuJS1_W
|
|
|
130
130
|
vellum_ee/workflows/display/utils/vellum.py,sha256=Bt7kdLdXoBsHn5dVEY2uKcF542VL09jwu8J_30rl2vk,6413
|
|
131
131
|
vellum_ee/workflows/display/vellum.py,sha256=J2mdJZ1sdLW535DDUkq_Vm8Z572vhuxHxVZF9deKSdk,391
|
|
132
132
|
vellum_ee/workflows/display/workflows/__init__.py,sha256=JTB9ObEV3l4gGGdtfBHwVJtTTKC22uj-a-XjTVwXCyA,148
|
|
133
|
-
vellum_ee/workflows/display/workflows/base_workflow_display.py,sha256=
|
|
133
|
+
vellum_ee/workflows/display/workflows/base_workflow_display.py,sha256=J3iOlEBMGkPxRtWpOjNiggwxptId8sAAKmO-up2c9Mw,52318
|
|
134
134
|
vellum_ee/workflows/display/workflows/get_vellum_workflow_display_class.py,sha256=gxz76AeCqgAZ9D2lZeTiZzxY9eMgn3qOSfVgiqYcOh8,2028
|
|
135
135
|
vellum_ee/workflows/display/workflows/tests/test_workflow_display.py,sha256=lg-c_3P3ldtqWq2VFsk_2Mkn3pVdXWuT59QpH7QwXVs,39764
|
|
136
136
|
vellum_ee/workflows/server/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
137
|
-
vellum_ee/workflows/server/virtual_file_loader.py,sha256=
|
|
137
|
+
vellum_ee/workflows/server/virtual_file_loader.py,sha256=oc5H5jlK2AqgrWAR716yWnVQRqJnbQHOPDQxAA4HMTc,6217
|
|
138
138
|
vellum_ee/workflows/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
139
139
|
vellum_ee/workflows/tests/local_files/__init__.py,sha256=UyP6kKkRqr9cTKHQF4MVLdLk5MM9GGcLuqxXsQGm22Y,51
|
|
140
140
|
vellum_ee/workflows/tests/local_files/base_class.py,sha256=UuiC7J68MVr6A4949QYiBpXOLdsvFG_Cw1muEPiHT6I,298
|
|
@@ -157,14 +157,14 @@ vellum_ee/workflows/tests/local_workflow/workflow.py,sha256=A4qOzOPNwePYxWbcAgIP
|
|
|
157
157
|
vellum_ee/workflows/tests/test_display_meta.py,sha256=PkXJVnMZs9GNooDkd59n4YTBAX3XGPQWeSSVbhehVFM,5112
|
|
158
158
|
vellum_ee/workflows/tests/test_registry.py,sha256=B8xRIuEyLWfSqrYoPldNQXhKPfe50PllvtAZoI8-uPs,6066
|
|
159
159
|
vellum_ee/workflows/tests/test_serialize_module.py,sha256=thzGsNzYCRXXdaC5yk1ZjtXrIO6uPdSnzdapKLCOsC8,6241
|
|
160
|
-
vellum_ee/workflows/tests/test_server.py,sha256=
|
|
161
|
-
vellum_ee/workflows/tests/test_virtual_files.py,sha256=
|
|
162
|
-
vellum/__init__.py,sha256=
|
|
160
|
+
vellum_ee/workflows/tests/test_server.py,sha256=6lXKu2HoX_UqYctelyAjycc5ZhD47F9PtsGV-rwwBq0,31251
|
|
161
|
+
vellum_ee/workflows/tests/test_virtual_files.py,sha256=zErjlpAIv-gUd5C-NXsiu3DHrbxEWzvb3bNJW3LcGIA,4250
|
|
162
|
+
vellum/__init__.py,sha256=i3_LxyUG6tOzzBIGg9KVV9SEWyZSQecpFqXonkVya5g,50006
|
|
163
163
|
vellum/client/README.md,sha256=flqu57ubZNTfpq60CdLtJC9gp4WEkyjb_n_eZ4OYf9w,6497
|
|
164
164
|
vellum/client/__init__.py,sha256=-nugZzQKoUJsStXe6PnOD__8kbDLKKokceDgpGxQ_q0,74576
|
|
165
165
|
vellum/client/core/__init__.py,sha256=lTcqUPXcx4112yLDd70RAPeqq6tu3eFMe1pKOqkW9JQ,1562
|
|
166
166
|
vellum/client/core/api_error.py,sha256=44vPoTyWN59gonCIZMdzw7M1uspygiLnr3GNFOoVL2Q,614
|
|
167
|
-
vellum/client/core/client_wrapper.py,sha256=
|
|
167
|
+
vellum/client/core/client_wrapper.py,sha256=tCmMeMuphx-X1KzY8qTAmP7LOyqJR-JLSYZFBcsuOWU,2840
|
|
168
168
|
vellum/client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
|
169
169
|
vellum/client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
|
|
170
170
|
vellum/client/core/force_multipart.py,sha256=awxh5MtcRYe74ehY8U76jzv6fYM_w_D3Rur7KQQzSDk,429
|
|
@@ -273,7 +273,7 @@ vellum/client/resources/workspaces/client.py,sha256=36KYa2FDu6h65q2GscUFOJs4qKei
|
|
|
273
273
|
vellum/client/resources/workspaces/raw_client.py,sha256=M3Ewk1ZfEZ44EeTvBtBNoNKi5whwfLY-1GR07SyfDTI,3517
|
|
274
274
|
vellum/client/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
275
275
|
vellum/client/tests/test_utils.py,sha256=zk8z45-2xrm9sZ2hq8PTqY8MXmXtPqMqYK0VBBX0GHg,1176
|
|
276
|
-
vellum/client/types/__init__.py,sha256=
|
|
276
|
+
vellum/client/types/__init__.py,sha256=VeRf4mpRf2b-mVi8-uLQsvlR9loWjnP2OsbkcM9Thek,75661
|
|
277
277
|
vellum/client/types/ad_hoc_execute_prompt_event.py,sha256=B69EesIH6fpNsdoiJaSG9zF1Sl17FnjoTu4CBkUSoHk,608
|
|
278
278
|
vellum/client/types/ad_hoc_expand_meta.py,sha256=Kajcj3dKKed5e7uZibRnE3ZonK_bB2JPM-3aLjLfUp4,1295
|
|
279
279
|
vellum/client/types/ad_hoc_fulfilled_prompt_execution_meta.py,sha256=5kD6ZcbU8P8ynK0lMD8Mh7vHzvQt06ziMyphvWYg6FU,968
|
|
@@ -281,9 +281,10 @@ vellum/client/types/ad_hoc_initiated_prompt_execution_meta.py,sha256=2yFw2XRaT9Q
|
|
|
281
281
|
vellum/client/types/ad_hoc_rejected_prompt_execution_meta.py,sha256=lqygrDY8yb0baJAszVtyZOOwtdNo5ISm4ZXQo0lq7sU,813
|
|
282
282
|
vellum/client/types/ad_hoc_streaming_prompt_execution_meta.py,sha256=lIQ1nKrBGDG0D4SWqUCPKwtwMxSVHEZ4Xaa53nxHtKs,705
|
|
283
283
|
vellum/client/types/add_openai_api_key_enum.py,sha256=GB7sLK_Ou7-Xn73sKJHUo6Gx3TjyhU7uJvWZAg4UeaI,92
|
|
284
|
+
vellum/client/types/api_actor_type_enum.py,sha256=qMM1kHW1_eXjkPSUJoelvr9H8XMDNMHSjfDFJiJpe30,214
|
|
284
285
|
vellum/client/types/api_node_result.py,sha256=xXj04OXiuSxcw2GieKh92Pkf3EdBDsLrhRs_yJw5vC0,693
|
|
285
286
|
vellum/client/types/api_node_result_data.py,sha256=x8aH2HmPG7v5d58y8z5Vi_yD2fLu0atmDzOXui898pQ,873
|
|
286
|
-
vellum/client/types/api_request_parent_context.py,sha256=
|
|
287
|
+
vellum/client/types/api_request_parent_context.py,sha256=wUGQy8HvNWMSpb1-SOAKKNiy75Q6gwShcOZ-HlbFldk,1874
|
|
287
288
|
vellum/client/types/api_version_enum.py,sha256=PObXD86PDEuoxBpLg2pIv_xEeHbN99r2tgAKnCiu5hk,166
|
|
288
289
|
vellum/client/types/array_chat_message_content.py,sha256=g4qSJDNPSrSC9GSMSJP80tT8qgWlnVD9Oo3KMEfcZIU,744
|
|
289
290
|
vellum/client/types/array_chat_message_content_item.py,sha256=WOzctR-ilus8AntH0XLCkCz2ryjGXpip-YH-KXUGrYQ,719
|
|
@@ -423,7 +424,7 @@ vellum/client/types/execution_thinking_vellum_value.py,sha256=y0XP6vDBXWNXYOZDqz
|
|
|
423
424
|
vellum/client/types/execution_vellum_value.py,sha256=dxJ2CkTFHG4BQEuAx4IB5en4lkLiFL8L6iOjssauMro,1494
|
|
424
425
|
vellum/client/types/execution_video_vellum_value.py,sha256=KnobVNtHERiRNtOwtfYajWBBORV_50Vvizo-cClohf8,835
|
|
425
426
|
vellum/client/types/external_input_descriptor.py,sha256=nT7fF1LN7MLuJ9BF60tXTPN-Re2DIygOEA5avLKV7Mw,769
|
|
426
|
-
vellum/client/types/external_parent_context.py,sha256=
|
|
427
|
+
vellum/client/types/external_parent_context.py,sha256=ev29RVGIoWYJ-ioCbVaFtV5WNybmQU9pPBPASI1SvIo,1663
|
|
427
428
|
vellum/client/types/external_test_case_execution.py,sha256=C6Wf22sVXASR5pS-ZfYBngzDYJr4eAtDE6ONEW56OqQ,974
|
|
428
429
|
vellum/client/types/external_test_case_execution_request.py,sha256=NaoWvB9G1zzzORZb8Lpiy9U6zkYtGUfcHmsJBLhRQ5Q,1025
|
|
429
430
|
vellum/client/types/fast_embed_vectorizer_baai_bge_small_en_v_15.py,sha256=9X2mLej880ROWjrEzF-LUYaMAERMi0B_Omg34-ghARM,683
|
|
@@ -498,9 +499,10 @@ vellum/client/types/integration.py,sha256=WqfHEskiMzNxuy5mmcXTARPQ4F3r99Jf-g-wVl
|
|
|
498
499
|
vellum/client/types/integration_auth_config_integration.py,sha256=W3DrzVPwLrqm0wCYVF-sHyQPoKNxoliFgFJWEwW_Yqc,710
|
|
499
500
|
vellum/client/types/integration_auth_config_integration_credential.py,sha256=lUNuJ1GyFps3M85Mff1C-SAeEacCMkJdmayFfYrTFXA,547
|
|
500
501
|
vellum/client/types/integration_credential_access_type.py,sha256=sWkuDjW3aD7ApZ1xQ7Bu8g5kCIwqUqzm1TDliUQWeRI,178
|
|
501
|
-
vellum/client/types/integration_name.py,sha256=
|
|
502
|
+
vellum/client/types/integration_name.py,sha256=XLczMR8e4nOICkbVSHkh0THKrTIVCtnx_YcsqAHFZ7Q,1247
|
|
502
503
|
vellum/client/types/integration_provider.py,sha256=lIh3yPyPEzmSAu8L4Gsd-iDkmDSNobo0_TB75zMtIXk,129
|
|
503
504
|
vellum/client/types/integration_read.py,sha256=sUNCS01TIlHPJHEH3ZheIbPi-CplbFQ5XAV1QtOO1Gg,1035
|
|
505
|
+
vellum/client/types/integration_trigger_context.py,sha256=PqzeyLBq8EK8GrEf5k-b-xQNDG0nYbyDI506UyTwA2I,1669
|
|
504
506
|
vellum/client/types/invoked_port.py,sha256=nw2k-y7NrpcH6T1V96U3F8_pbrsceqBPIz3RQXN8gJY,518
|
|
505
507
|
vellum/client/types/iteration_state_enum.py,sha256=83JSh842OJgQiLtNn1KMimy6RlEYRVH3mDmYWS6Ewzo,180
|
|
506
508
|
vellum/client/types/jinja_prompt_block.py,sha256=IRWwjk9sGoF49bycXzWP_XYo8fksglZ0hu5geCTystM,903
|
|
@@ -562,19 +564,19 @@ vellum/client/types/named_test_case_video_variable_value.py,sha256=8lTwnF_kArykf
|
|
|
562
564
|
vellum/client/types/named_test_case_video_variable_value_request.py,sha256=pErjItSd2CoquJtiSW8uz5oDTvS1LMuB_ocWCvs1oWk,696
|
|
563
565
|
vellum/client/types/new_member_join_behavior_enum.py,sha256=s9Z_6JKM6R4gPNtIJYCe84_DNBHucj6dHOx6bdFPoLo,258
|
|
564
566
|
vellum/client/types/node_execution_fulfilled_body.py,sha256=foRkObll1ZBsh3Po6tHT6CKnDcUaMFEoQWc-rjLDn7A,849
|
|
565
|
-
vellum/client/types/node_execution_fulfilled_event.py,sha256=
|
|
567
|
+
vellum/client/types/node_execution_fulfilled_event.py,sha256=AQQ1mVhXHzyA9K9kSfzygylclmK4AKI0e-0TbEqUUio,2079
|
|
566
568
|
vellum/client/types/node_execution_initiated_body.py,sha256=PmI24HmrlHFoROgJdAJIXHcYwuS_v_JPxLGKpDeCc4I,701
|
|
567
|
-
vellum/client/types/node_execution_initiated_event.py,sha256=
|
|
569
|
+
vellum/client/types/node_execution_initiated_event.py,sha256=Xtypdu-joqn4efHec8PlJecZ4a4SKy8rSQQ7NQPmrF8,2079
|
|
568
570
|
vellum/client/types/node_execution_paused_body.py,sha256=pAySHgvgRO6iV1pfO_lRyufk4ecA0LON8CCap4YTZsk,640
|
|
569
|
-
vellum/client/types/node_execution_paused_event.py,sha256=
|
|
571
|
+
vellum/client/types/node_execution_paused_event.py,sha256=54RA3iRLm9pjHPht88mtKI93turkfZjdAqnmAQs_K2A,2058
|
|
570
572
|
vellum/client/types/node_execution_rejected_body.py,sha256=PxLPedDB-Budfm9OtFtyjLnpaMO3rK_DQg62sv1TpsA,757
|
|
571
|
-
vellum/client/types/node_execution_rejected_event.py,sha256=
|
|
573
|
+
vellum/client/types/node_execution_rejected_event.py,sha256=Ar-UcmL62VRS64JYKZ91tBUlSTlL_w98Dab2lCpbuxA,2072
|
|
572
574
|
vellum/client/types/node_execution_resumed_body.py,sha256=M8nhwykvfwFgRKAyiVXJZC3Mrd7JankiTdO8muHQWMA,641
|
|
573
|
-
vellum/client/types/node_execution_resumed_event.py,sha256=
|
|
574
|
-
vellum/client/types/node_execution_span.py,sha256=
|
|
575
|
+
vellum/client/types/node_execution_resumed_event.py,sha256=qp7DP5CiO2zwYDwYZk7yqv5LIYZdZ0nMVK5iTuslDoo,2065
|
|
576
|
+
vellum/client/types/node_execution_span.py,sha256=MllkobQGkCak8VpNnCxt3BIizGzH0-TC3EPIdwEK4_w,2126
|
|
575
577
|
vellum/client/types/node_execution_span_attributes.py,sha256=eKki7Fn1u1lem50CftfYglH6yuRRjq0d5FXAtxTuUP4,594
|
|
576
578
|
vellum/client/types/node_execution_streaming_body.py,sha256=7XoldYoZwU5bFUOglFG48roWqvjxION6blYsoHFYYQY,702
|
|
577
|
-
vellum/client/types/node_execution_streaming_event.py,sha256=
|
|
579
|
+
vellum/client/types/node_execution_streaming_event.py,sha256=K_l6xpoEhBcVSfJcxie399EjphSBc4UZOPa-XyI-1jQ,2079
|
|
578
580
|
vellum/client/types/node_input_compiled_array_value.py,sha256=4ABwdQaEKpusNtRocwEP2dwe9nPHDCtgrfTqG9-_0Kw,910
|
|
579
581
|
vellum/client/types/node_input_compiled_audio_value.py,sha256=YswJ4ernhGbvEzagoDjW4I1vssGEXgEQBAYduLT50qI,685
|
|
580
582
|
vellum/client/types/node_input_compiled_chat_history_value.py,sha256=z7ehHME9AtexSyhciPRbFGMeKvxj8v6RbydMk3JV-xI,718
|
|
@@ -599,7 +601,7 @@ vellum/client/types/node_output_compiled_search_results_value.py,sha256=_GFd8h5c
|
|
|
599
601
|
vellum/client/types/node_output_compiled_string_value.py,sha256=XbQBIfY6qoTAQ2Z6aN916vU9lsHDgOYSqehUKNVp2Zw,844
|
|
600
602
|
vellum/client/types/node_output_compiled_thinking_value.py,sha256=KwmbC13BgyA70IesWKyTVL4SY5Rw2HDRNWeGlyTkIrk,917
|
|
601
603
|
vellum/client/types/node_output_compiled_value.py,sha256=KU1F3NhpQUWr65HjLdXUznc6k5fPOh7VX3o04kOEkKk,1182
|
|
602
|
-
vellum/client/types/node_parent_context.py,sha256=
|
|
604
|
+
vellum/client/types/node_parent_context.py,sha256=eyP0L5CJzLxyvUPx72U8DoAU13KE8MQya29nlAYGrLA,1797
|
|
603
605
|
vellum/client/types/normalized_log_probs.py,sha256=aA0eGibpbcMZHLA-F5exAxU6i4FEZVdLm5ZlvxyZ0dA,670
|
|
604
606
|
vellum/client/types/normalized_token_log_probs.py,sha256=i1dpTPE9G4u6E68Md1TL1LtimOSYKdq3Gfziy-yMwyE,678
|
|
605
607
|
vellum/client/types/number_input.py,sha256=27hUXuCRvlsFsEDIEieKKKAjZB5uJyP2pX_pPHWoNSE,703
|
|
@@ -629,7 +631,7 @@ vellum/client/types/paginated_test_suite_test_case_list.py,sha256=gDVdq10b5u3NEz
|
|
|
629
631
|
vellum/client/types/paginated_workflow_deployment_release_list.py,sha256=0THeQdJlr-hBLZIcCFHs8oPZUzmTUMhmNpWMhTb0q7c,988
|
|
630
632
|
vellum/client/types/paginated_workflow_release_tag_read_list.py,sha256=QhnPPpYE5T_0Kzl6QJ9YWcsc4WYf74px_KOiQTWRqNY,782
|
|
631
633
|
vellum/client/types/paginated_workflow_sandbox_example_list.py,sha256=GHWCQdTYmFeoN0lxdreN0RldKcUa2Duazlfke2cLOc4,781
|
|
632
|
-
vellum/client/types/parent_context.py,sha256=
|
|
634
|
+
vellum/client/types/parent_context.py,sha256=s27Wd9_DFCYm4CS0osRw6JpJI5npsQTmbjF70h8jEQw,1092
|
|
633
635
|
vellum/client/types/pdf_search_result_meta_source.py,sha256=KaYx-xvNtOn_ADRDBbb48qGsLtqXfcmfzqob8r-SLgc,1090
|
|
634
636
|
vellum/client/types/pdf_search_result_meta_source_request.py,sha256=Fh2EUxWyhdP7yW2CUNvSTSZo8EcukgogALr4HpppHvQ,1097
|
|
635
637
|
vellum/client/types/plain_text_prompt_block.py,sha256=vqZESoqj6P1IyHFmRAk2kmdU3ktsM_852crRCBcYV64,894
|
|
@@ -641,7 +643,7 @@ vellum/client/types/prompt_block.py,sha256=950JeKeNKZ0DQXwCD-Sy9SDMtiR7F-BqCrJZo
|
|
|
641
643
|
vellum/client/types/prompt_block_state.py,sha256=BRAzTYARoSU36IVZGWMeeqhl5fgFMXCyhJ8rCbfB-f0,163
|
|
642
644
|
vellum/client/types/prompt_deployment_expand_meta_request.py,sha256=v7sW8hDHULzNa103FB3WugGMsRUnt0ijbzRy476M3fg,1874
|
|
643
645
|
vellum/client/types/prompt_deployment_input_request.py,sha256=xmmr6IEpCHdB6rSu59xmFQutY-ntdlJHVd9EVrJI16U,674
|
|
644
|
-
vellum/client/types/prompt_deployment_parent_context.py,sha256=
|
|
646
|
+
vellum/client/types/prompt_deployment_parent_context.py,sha256=eqZogYM2qu5vo41TPiJyFYWAulL_m2aBe_GOwq9nXb4,1972
|
|
645
647
|
vellum/client/types/prompt_deployment_release.py,sha256=ar_MMrWcIJ6cKxW3qAVaybW1nPkqOfmQZTdto68o4CM,1310
|
|
646
648
|
vellum/client/types/prompt_deployment_release_prompt_deployment.py,sha256=S7XjAfNih43SBcvnZeOstM9dsOrAtY3ERGV5iDNfZdA,546
|
|
647
649
|
vellum/client/types/prompt_deployment_release_prompt_version.py,sha256=Q-OF8JixvuqyTcK_INjLujBWfCFnTsxAp-Z4JeOPN7U,813
|
|
@@ -693,6 +695,7 @@ vellum/client/types/scenario_input_image_variable_value.py,sha256=o3rwhVnXp3XCOK
|
|
|
693
695
|
vellum/client/types/scenario_input_json_variable_value.py,sha256=07_Fj9UOzMGvz1H0j1awmMz0Q6ErliwjgKVU_iUyZb8,716
|
|
694
696
|
vellum/client/types/scenario_input_string_variable_value.py,sha256=PI_pk-WOXVRBSW6PZKDZW11svxd2r9E6bCpl0zC0MTM,717
|
|
695
697
|
vellum/client/types/scenario_input_video_variable_value.py,sha256=6AxOsLtHNZv-1UyBue6fMs5_vLFCXidx7e_9kP0hHrs,680
|
|
698
|
+
vellum/client/types/scheduled_trigger_context.py,sha256=hRDqFVeR_M_TS-Km7QicXl_7N9VJclGa5gJKYlyHaB4,1665
|
|
696
699
|
vellum/client/types/search_filters_request.py,sha256=Moxewgl8KwjIy-VBistrchXQAqfsn5fkqO5R2UzLlI8,1276
|
|
697
700
|
vellum/client/types/search_node_result.py,sha256=2DbnKCus81-fj56IoGZqIL6Tw6hjf5jH0O2P_AXah8o,713
|
|
698
701
|
vellum/client/types/search_node_result_data.py,sha256=rXs0R0OG2pjTcE6bMp5lN6_cUusFiVUDwkC3pVo5l6o,810
|
|
@@ -722,8 +725,8 @@ vellum/client/types/slim_integration_auth_config_read.py,sha256=Mbn1DjJIJJjkqrta
|
|
|
722
725
|
vellum/client/types/slim_integration_read.py,sha256=hKc9a85Vi7WNIq6JDPABettHUz-vmV-ViXRsoIpD_MY,754
|
|
723
726
|
vellum/client/types/slim_release_review.py,sha256=vWNkPXk5wZ_scHsWHz_77PfMZRDn-4qUkqVbCKqY1zQ,747
|
|
724
727
|
vellum/client/types/slim_workflow_deployment.py,sha256=jIciGPCW9QNtDRdq3w_zUdrrE4cg1LWkcoyGM-L6cs0,2085
|
|
725
|
-
vellum/client/types/slim_workflow_execution_read.py,sha256=
|
|
726
|
-
vellum/client/types/span_link.py,sha256=
|
|
728
|
+
vellum/client/types/slim_workflow_execution_read.py,sha256=YNo50zH7CMfKgzzGHmPFJ2BuqLfJj2qQlvKyD82eqIQ,2484
|
|
729
|
+
vellum/client/types/span_link.py,sha256=752EVyc9OW3PA0fR7j31-MWylCkydiYFvh26AXU4nLE,1615
|
|
727
730
|
vellum/client/types/span_link_type_enum.py,sha256=SQsPKp1Jb8PWE2tkCHt9d5fZP8Oz77vG8_VYKF-h9J4,186
|
|
728
731
|
vellum/client/types/streaming_ad_hoc_execute_prompt_event.py,sha256=BZZHXI_vq28VAmRbbIIK2wyRSkQpWfOPD7kiydhQmd8,1147
|
|
729
732
|
vellum/client/types/streaming_execute_prompt_event.py,sha256=zqAeXugb9kOgkm7PHIjw5CIL6058WZ4kik3pa18SDbo,1125
|
|
@@ -881,9 +884,9 @@ vellum/client/types/video_prompt_block.py,sha256=8uyJRzNnoV6vB4sVPxtxx9gsVkLsfHa
|
|
|
881
884
|
vellum/client/types/video_vellum_value.py,sha256=8KfVyPZ0b3nv0wuo-p88yE9jc5VyYXk0HPnesgiYGjY,711
|
|
882
885
|
vellum/client/types/video_vellum_value_request.py,sha256=q6dptI5XdJNFwtTRlNyPqU0EUlRDFlhH8GjJgMzY2c8,740
|
|
883
886
|
vellum/client/types/workflow_deployment_display_data.py,sha256=6D2CqxfJLFZPpmjYZ5FNOPMLPvvcAlYz7Y23_CmzJqA,780
|
|
884
|
-
vellum/client/types/workflow_deployment_event_executions_response.py,sha256=
|
|
887
|
+
vellum/client/types/workflow_deployment_event_executions_response.py,sha256=Hjzl9I9ijUmwZlVkh26vFEaQViNUzOJl3WFNRrXDumU,1752
|
|
885
888
|
vellum/client/types/workflow_deployment_history_item.py,sha256=RF_ByBLXRo47MhAuyUV4FkxmN_j879-UylfRyZaYAm0,1327
|
|
886
|
-
vellum/client/types/workflow_deployment_parent_context.py,sha256=
|
|
889
|
+
vellum/client/types/workflow_deployment_parent_context.py,sha256=HCPZE-CG3r9FC54wXww8B5iJw47emI-aZ9BqYkqaFwI,1978
|
|
887
890
|
vellum/client/types/workflow_deployment_read.py,sha256=bSdmiGtOUdZoNRH14PtmoLsSGACh0xwUXG6Fqr5a30I,2494
|
|
888
891
|
vellum/client/types/workflow_deployment_release.py,sha256=yd9Okgpdm8Oob9VmIKaksZjmRv2uLHGJtc-H5sO10F8,1520
|
|
889
892
|
vellum/client/types/workflow_deployment_release_workflow_deployment.py,sha256=ZmQhemAQEqARhkSvc9DFdgfTKQfSHvRTS9reW1Wx9dI,550
|
|
@@ -892,31 +895,31 @@ vellum/client/types/workflow_display_icon.py,sha256=SmjaK8yazBntU1Nh57bVz_sYf59D
|
|
|
892
895
|
vellum/client/types/workflow_error.py,sha256=iDMQ3Wx7E8lf6BYtBTGpeIxG46iF9mjzTpjxyJVTXgM,283
|
|
893
896
|
vellum/client/types/workflow_event.py,sha256=M_ra0CjUffCPqPRFJM_oR1IY4egHDGa0tY1HAoA8j5k,1532
|
|
894
897
|
vellum/client/types/workflow_event_error.py,sha256=qNqSGvPOLODPTiaWmsUKyTx9W91JDIm9r9s05zsTsfg,779
|
|
895
|
-
vellum/client/types/workflow_event_execution_read.py,sha256=
|
|
898
|
+
vellum/client/types/workflow_event_execution_read.py,sha256=o1k4QGuqDXpsR2hEjshunhVYZdDCgVyie69Y0dtNHm4,2638
|
|
896
899
|
vellum/client/types/workflow_execution_actual.py,sha256=QJn7xXOtSJT30se2KdOyAYVJKjU53uhdvpjcMDIz1eM,962
|
|
897
900
|
vellum/client/types/workflow_execution_actual_chat_history_request.py,sha256=E3Vt4l6PpE24_teWe3Kfu_4z1sbosaz_Uk1iUI9cZ-s,1957
|
|
898
901
|
vellum/client/types/workflow_execution_actual_json_request.py,sha256=jLsQxdg7SVyUkdu_Gyo3iDKgZcQnO5hsP0PHPsiGwrg,1895
|
|
899
902
|
vellum/client/types/workflow_execution_actual_string_request.py,sha256=syFCXeB4MwjKblXfSBNfCSG4dJIR8Ww937gTcmTPh1w,1859
|
|
900
|
-
vellum/client/types/workflow_execution_detail.py,sha256=
|
|
903
|
+
vellum/client/types/workflow_execution_detail.py,sha256=llaD8egEluL4Bghht3LSDtdDYaq_QIAjqkBzeUunMj8,2368
|
|
901
904
|
vellum/client/types/workflow_execution_event_error_code.py,sha256=rTlQKobDv7-ZnRnDcabQjncY7PCieH15JsMiZlAqwMI,655
|
|
902
905
|
vellum/client/types/workflow_execution_event_type.py,sha256=ESKqV3ItoAlqBooruf-i0AnmEh_GvCySZ0Co3r9Bvt0,170
|
|
903
906
|
vellum/client/types/workflow_execution_fulfilled_body.py,sha256=kZeUs78pRiFPz1RzssvU6k4g0xvwfNCcXPg1OLXFntw,888
|
|
904
|
-
vellum/client/types/workflow_execution_fulfilled_event.py,sha256=
|
|
907
|
+
vellum/client/types/workflow_execution_fulfilled_event.py,sha256=l3qT2ZQSuZjSJj1_oTvNbV1ErIR7wv36wfxeaqFVpt0,2107
|
|
905
908
|
vellum/client/types/workflow_execution_initiated_body.py,sha256=0y2mi-RtpxPzWgl1ZO2eDOJdUvNSM_iVz6B_OySGucg,709
|
|
906
|
-
vellum/client/types/workflow_execution_initiated_event.py,sha256=
|
|
909
|
+
vellum/client/types/workflow_execution_initiated_event.py,sha256=iPxK6bO1GK-eFJv_25MqHNYzUDcwxKMcwfsS7zyIGR4,2107
|
|
907
910
|
vellum/client/types/workflow_execution_node_result_event.py,sha256=4rLmfNqLq2UYUGW1_CBb1yCXaCgBwFjq1UQ4-txSimU,1040
|
|
908
911
|
vellum/client/types/workflow_execution_paused_body.py,sha256=YzALzCHE9wRkyRuseriaGKst_oidAaIUNar9B6doMrY,769
|
|
909
|
-
vellum/client/types/workflow_execution_paused_event.py,sha256=
|
|
912
|
+
vellum/client/types/workflow_execution_paused_event.py,sha256=ZfBlrfqlhJjqvuTY0Rlcqgrvvb72zVcYRwlJ6lPx5XA,2086
|
|
910
913
|
vellum/client/types/workflow_execution_rejected_body.py,sha256=biJQ8_PDeJGELgjjUbZayC3tzoDkFSs2o-o04IKA6fg,765
|
|
911
|
-
vellum/client/types/workflow_execution_rejected_event.py,sha256=
|
|
914
|
+
vellum/client/types/workflow_execution_rejected_event.py,sha256=GE58UnAD62dkQ-NaSMEGYKFhg7iFBGfs6EO9nB2NYN4,2100
|
|
912
915
|
vellum/client/types/workflow_execution_resumed_body.py,sha256=L0Atzk7328tpjhRKC0Y8AoWuMebtdHzd4gBjYkvKDIM,649
|
|
913
|
-
vellum/client/types/workflow_execution_resumed_event.py,sha256=
|
|
916
|
+
vellum/client/types/workflow_execution_resumed_event.py,sha256=X-jorirYgQ7tLbEk6VnrbKGhII2ezWRPsSox9aLHiNo,2093
|
|
914
917
|
vellum/client/types/workflow_execution_snapshotted_body.py,sha256=1r0dnZJNAy34ckeNfCvkSphs_AfVbKhn0IJKvB06Yyo,778
|
|
915
|
-
vellum/client/types/workflow_execution_snapshotted_event.py,sha256=
|
|
916
|
-
vellum/client/types/workflow_execution_span.py,sha256=
|
|
918
|
+
vellum/client/types/workflow_execution_snapshotted_event.py,sha256=4J87G_iEE8Ub8gB5YI_UoV27gWgvPSfpTyrCai844UY,2121
|
|
919
|
+
vellum/client/types/workflow_execution_span.py,sha256=q0UuGdYcaOaMlW2f0KOpx2c_3OQmmr-PkVHzSgl8VN8,2166
|
|
917
920
|
vellum/client/types/workflow_execution_span_attributes.py,sha256=OE_uL3qChioClcS3P46EW6ajLEyDsNl9sQJ13Tw50cY,560
|
|
918
921
|
vellum/client/types/workflow_execution_streaming_body.py,sha256=YklXqGzLrCYyZ6DOpy8YQodMfiyH_d2x93ajGg-rwLk,710
|
|
919
|
-
vellum/client/types/workflow_execution_streaming_event.py,sha256=
|
|
922
|
+
vellum/client/types/workflow_execution_streaming_event.py,sha256=k4x3oioU_MafduHqdUCfOGNwPhke6Gi7qS_ajBS8yqs,2107
|
|
920
923
|
vellum/client/types/workflow_execution_usage_calculation_error.py,sha256=37j4n45pYQ5yLCJ2kfvoCnb_m0VDH_dTtseLvryKHQ8,718
|
|
921
924
|
vellum/client/types/workflow_execution_usage_calculation_error_code_enum.py,sha256=O8CGCaWKuhnRjmQXTsw4gQn5hfDFiKED8bJYzP8R0LM,258
|
|
922
925
|
vellum/client/types/workflow_execution_usage_calculation_fulfilled_body.py,sha256=_EftcFx4Z_eeYgZ_yx_jnDk1KUTu-AuP5HL-dU5b5Q4,693
|
|
@@ -939,7 +942,7 @@ vellum/client/types/workflow_output_json.py,sha256=S8k166a9-pAv2PjbwATWo7FlSzdye
|
|
|
939
942
|
vellum/client/types/workflow_output_number.py,sha256=nrG20pZjxE78U6JoDx5iN3zSLqRBZUtw_LNtjXPAbZw,776
|
|
940
943
|
vellum/client/types/workflow_output_search_results.py,sha256=yDtDPFguX9klzTbwBrFfyK0yNl2EZboN6UpYNG6rWjw,867
|
|
941
944
|
vellum/client/types/workflow_output_string.py,sha256=EmxzAl3NNXZzPmmt68BHDWfiN1R70qomqVNGMIIu7_4,774
|
|
942
|
-
vellum/client/types/workflow_parent_context.py,sha256=
|
|
945
|
+
vellum/client/types/workflow_parent_context.py,sha256=RPP8m2PDICnzD81EKa_Ux3DF-TZD8h7AiQMTeyODyuE,1791
|
|
943
946
|
vellum/client/types/workflow_push_deployment_config_request.py,sha256=mDJTj5WbDU-RXUxEMOfF9k7GlBUD6wE-WUB2P01r6Pw,762
|
|
944
947
|
vellum/client/types/workflow_push_exec_config.py,sha256=6TaVMVqhSOz4DnY46l8axPDtytSioXDl9nHvFXSxH1g,94
|
|
945
948
|
vellum/client/types/workflow_push_response.py,sha256=Tkwpvh_Ar1yl-kyClh2fTIP2e0cqyk1ohbArIp8I9gs,688
|
|
@@ -966,7 +969,7 @@ vellum/client/types/workflow_result_event_output_data_number.py,sha256=p2_zkt3zN
|
|
|
966
969
|
vellum/client/types/workflow_result_event_output_data_search_results.py,sha256=vsMTbZuFwFwDqW3Uvm6_NODluCXmhV9H4DBI-HozfpI,1136
|
|
967
970
|
vellum/client/types/workflow_result_event_output_data_string.py,sha256=sejfzNfmeygtVNedvsU1cXvjfG5z3UUROX735r2sEOQ,1192
|
|
968
971
|
vellum/client/types/workflow_sandbox_example.py,sha256=pl9mx0Wvgg3kRmIoOlAx4XebMhOeSvgy438BPcQNy-4,724
|
|
969
|
-
vellum/client/types/workflow_sandbox_parent_context.py,sha256=
|
|
972
|
+
vellum/client/types/workflow_sandbox_parent_context.py,sha256=HErPi2s8-SumB_kwSEmkHOfjJ77A11zSaiys60YS8Zg,1752
|
|
970
973
|
vellum/client/types/workflow_stream_event.py,sha256=6dQx_D-UPfJVrIsSW6krmZKDKeP9kPojFHDgqy_58io,362
|
|
971
974
|
vellum/client/types/workspace_read.py,sha256=NAVouD25ZHvldLrAvAOwL2w2f1tqZaSC05wZ--YvBCQ,661
|
|
972
975
|
vellum/client/types/workspace_secret_read.py,sha256=qWabw1u5HZpuv77kAwtAQigj4CDB41csJ2wmXu5eJS8,678
|
|
@@ -1111,6 +1114,7 @@ vellum/types/ad_hoc_initiated_prompt_execution_meta.py,sha256=wtaIyv48QAoJ2eYblX
|
|
|
1111
1114
|
vellum/types/ad_hoc_rejected_prompt_execution_meta.py,sha256=yZ75GQ6oe1_CI8CgzLm0NB5ULGRZN3Jd69UWcLZuDHY,175
|
|
1112
1115
|
vellum/types/ad_hoc_streaming_prompt_execution_meta.py,sha256=bjLXbYHIiDaJrkzHJe3F0vm0Bp1H0nHfWvwP-TzBdKM,176
|
|
1113
1116
|
vellum/types/add_openai_api_key_enum.py,sha256=d7yf_J3uFBltfE5wwQR_JH31NCXjzkRSpW0bXOF0FAM,161
|
|
1117
|
+
vellum/types/api_actor_type_enum.py,sha256=r3AfKgLFApgW_gv4nfWnd5l-8nZkD6JFEgf8l9ZTakY,157
|
|
1114
1118
|
vellum/types/api_node_result.py,sha256=VrpkInL6qGJgQUmxo2-M90_Qsucc18qYVKao-QRE6lM,153
|
|
1115
1119
|
vellum/types/api_node_result_data.py,sha256=lYRxTwl8hFRoGKlWP6PEuWaMD4me6nNUS0nc1GJaISU,158
|
|
1116
1120
|
vellum/types/api_request_parent_context.py,sha256=dY3ISQe4zsLyNR_8gziC3sR_cfY_IDDhfW85OJarvDA,164
|
|
@@ -1331,6 +1335,7 @@ vellum/types/integration_credential_access_type.py,sha256=nvvklDHyz-q6lsQJ0jlNYP
|
|
|
1331
1335
|
vellum/types/integration_name.py,sha256=NrAy5QDLUhx4WnED40MTujnjAKzjGxd9lpCrMgC8YZs,154
|
|
1332
1336
|
vellum/types/integration_provider.py,sha256=_34xKlxHRA37I4Mrc1y3MncasgHNAYT_cQbzeobdsJs,158
|
|
1333
1337
|
vellum/types/integration_read.py,sha256=W57b4-R6rK3nDllk4o954UFJVw7oi0f-GNOIta-Gv58,154
|
|
1338
|
+
vellum/types/integration_trigger_context.py,sha256=ZnTak0Geyp0woc6Fjoh7iy4raqmZiJV5bJsWcXXhpzU,165
|
|
1334
1339
|
vellum/types/invoked_port.py,sha256=vZUOhbmvydZyxm-dvjh-cVAY4F55Xc7TNEhNLwep7R8,150
|
|
1335
1340
|
vellum/types/iteration_state_enum.py,sha256=782UXz90fWfEkSxo9iJ1PYXB2UcmV_SgpjqZrI9ZrEc,158
|
|
1336
1341
|
vellum/types/jinja_prompt_block.py,sha256=PzJdqnRYhHn958T61ycJPJkggbpbuJ12JCBAztKZAj8,156
|
|
@@ -1523,6 +1528,7 @@ vellum/types/scenario_input_image_variable_value.py,sha256=3-AEkjeo0QUp1RQiyouAT
|
|
|
1523
1528
|
vellum/types/scenario_input_json_variable_value.py,sha256=_SdTrpu5-zfBvQmTbq1LHVLjdFZR8HAQT8ckU7ZzOcQ,172
|
|
1524
1529
|
vellum/types/scenario_input_string_variable_value.py,sha256=MoHVC5ArkofAtemyk1m1SXkco1_6OZ59C7ilGrYyTlA,174
|
|
1525
1530
|
vellum/types/scenario_input_video_variable_value.py,sha256=5I7uQvn2zDTnJr0owPhb3ZvlmoSvh7ABjI1gLAAJwgQ,173
|
|
1531
|
+
vellum/types/scheduled_trigger_context.py,sha256=YhKqhZgAG__bnbCethl292pAYzntJvxXuiChl9lufmA,163
|
|
1526
1532
|
vellum/types/search_filters_request.py,sha256=5FsWAJNOvgErJ9hl_1arivGCFWs4aN_rDshzjj58rIk,160
|
|
1527
1533
|
vellum/types/search_node_result.py,sha256=BY0a_9sB6PhLKgyFlrrGOHwC2d-8PhcDrZg1yB7eZQA,156
|
|
1528
1534
|
vellum/types/search_node_result_data.py,sha256=mIUpEUBwh6_5Vp0cRrUI2peHREOwKYDi0WesMPiPHNs,161
|
|
@@ -1894,7 +1900,7 @@ vellum/workflows/graph/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NM
|
|
|
1894
1900
|
vellum/workflows/graph/tests/test_graph.py,sha256=OLGkEQh-B1CucwSf4nOP79RFXB4R2isHo3LFlr-24yA,20132
|
|
1895
1901
|
vellum/workflows/inputs/__init__.py,sha256=02pj0IbJkN1AxTreswK39cNi45tA8GWcAAdRJve4cuM,116
|
|
1896
1902
|
vellum/workflows/inputs/base.py,sha256=79Dw3jiSnCVFeySg6rMFPIqPfErmGKY0XPhpW0dSY-E,5454
|
|
1897
|
-
vellum/workflows/inputs/dataset_row.py,sha256=
|
|
1903
|
+
vellum/workflows/inputs/dataset_row.py,sha256=6T9RftdvNK0hnxbvmUftYg1OVmeU8eLuBIPZj2g0yQ8,1213
|
|
1898
1904
|
vellum/workflows/inputs/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1899
1905
|
vellum/workflows/inputs/tests/test_inputs.py,sha256=E6I2pEfGjCeQg0GAsjvKFEjO32bQ3H9VeRnLv3ry9O0,2828
|
|
1900
1906
|
vellum/workflows/integrations/__init__.py,sha256=KoA7tGX_UiImu6erJKJ5tmLFpNFEqblsWFGPoWNsS1U,220
|
|
@@ -1970,9 +1976,9 @@ vellum/workflows/nodes/displayable/conditional_node/__init__.py,sha256=AS_EIqFdU
|
|
|
1970
1976
|
vellum/workflows/nodes/displayable/conditional_node/node.py,sha256=2g32hWosE3zwVaK2UPFnVEer1Nbn04s3friF2rGztmE,1195
|
|
1971
1977
|
vellum/workflows/nodes/displayable/conftest.py,sha256=K2kLM2JGAfcrmmd92u8DXInUO5klFdggPWblg5RVcx4,5729
|
|
1972
1978
|
vellum/workflows/nodes/displayable/final_output_node/__init__.py,sha256=G7VXM4OWpubvSJtVkGmMNeqgb9GkM7qZT838eL18XU4,72
|
|
1973
|
-
vellum/workflows/nodes/displayable/final_output_node/node.py,sha256=
|
|
1979
|
+
vellum/workflows/nodes/displayable/final_output_node/node.py,sha256=ITFmtuffQj4A01Bpbb8ntKQyknswKF5rfyT5MjnFinA,5236
|
|
1974
1980
|
vellum/workflows/nodes/displayable/final_output_node/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1975
|
-
vellum/workflows/nodes/displayable/final_output_node/tests/test_node.py,sha256=
|
|
1981
|
+
vellum/workflows/nodes/displayable/final_output_node/tests/test_node.py,sha256=pMfmoUtARDW68IbxhhVqtcqL2LSunJSjYKAaucQoLXA,4478
|
|
1976
1982
|
vellum/workflows/nodes/displayable/guardrail_node/__init__.py,sha256=Ab5eXmOoBhyV4dMWdzh32HLUmnPIBEK_zFCT38C4Fng,68
|
|
1977
1983
|
vellum/workflows/nodes/displayable/guardrail_node/node.py,sha256=axYUojar_kdB3gi4LG3g9euJ8VkOxNtiFxJNI46v-SQ,5869
|
|
1978
1984
|
vellum/workflows/nodes/displayable/guardrail_node/test_node.py,sha256=SAGv6hSFcBwQkudn1VxtaKNsXSXWWELl3eK05zM6tS0,5410
|
|
@@ -1994,6 +2000,10 @@ vellum/workflows/nodes/displayable/search_node/__init__.py,sha256=hpBpvbrDYf43DE
|
|
|
1994
2000
|
vellum/workflows/nodes/displayable/search_node/node.py,sha256=hbPsZhyXfq9dx0mfBKOyivluDmV2iXmDTT7loEyu9nI,2057
|
|
1995
2001
|
vellum/workflows/nodes/displayable/search_node/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1996
2002
|
vellum/workflows/nodes/displayable/search_node/tests/test_node.py,sha256=YXgIIAJHVQxrfyJ0gxeJC0fAJaic10_zbqvsS8hyZSc,9368
|
|
2003
|
+
vellum/workflows/nodes/displayable/set_state_node/__init__.py,sha256=9Qi3gXOg4koi3sADuDXMhA3_JTYBDx4Bd2hRhaoQ4XM,66
|
|
2004
|
+
vellum/workflows/nodes/displayable/set_state_node/node.py,sha256=PvIiJQdBmCuEO3dZ5azSIv3db7pArIci0VY2ZpWS240,2721
|
|
2005
|
+
vellum/workflows/nodes/displayable/set_state_node/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2006
|
+
vellum/workflows/nodes/displayable/set_state_node/tests/test_node.py,sha256=dhhYASzfR2xeAxcFTzgaEcirZ0WIzL461TYeXuIqYag,6543
|
|
1997
2007
|
vellum/workflows/nodes/displayable/subworkflow_deployment_node/__init__.py,sha256=9yYM6001YZeqI1VOk1QuEM_yrffk_EdsO7qaPzINKds,92
|
|
1998
2008
|
vellum/workflows/nodes/displayable/subworkflow_deployment_node/node.py,sha256=_4aJxlnSEQKUlL9DAXYdrv1ic0tC7IyvYV389HHGyvE,16281
|
|
1999
2009
|
vellum/workflows/nodes/displayable/subworkflow_deployment_node/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -2050,7 +2060,7 @@ vellum/workflows/resolvers/tests/test_resolver.py,sha256=PnUGzsulo1It_LjjhHsRNiI
|
|
|
2050
2060
|
vellum/workflows/resolvers/types.py,sha256=Hndhlk69g6EKLh_LYg5ILepW5U_h_BYNllfzhS9k8p4,237
|
|
2051
2061
|
vellum/workflows/runner/__init__.py,sha256=i1iG5sAhtpdsrlvwgH6B-m49JsINkiWyPWs8vyT-bqM,72
|
|
2052
2062
|
vellum/workflows/runner/runner.py,sha256=mMJzRT1iMsJ8YLYcbTsrKH8l2VDxqlC-sD8xY7pIoGY,54834
|
|
2053
|
-
vellum/workflows/sandbox.py,sha256=
|
|
2063
|
+
vellum/workflows/sandbox.py,sha256=W_jHJX0-Na1S_eCnwNsceEmlk7MiC-KOh7Hc2yHLWoA,3592
|
|
2054
2064
|
vellum/workflows/state/__init__.py,sha256=yUUdR-_Vl7UiixNDYQZ-GEM_kJI9dnOia75TtuNEsnE,60
|
|
2055
2065
|
vellum/workflows/state/base.py,sha256=8Zr7UIM_eC0O2N6w_1gYqyrjgJ9D9z-VqLFnBETEF7Q,26753
|
|
2056
2066
|
vellum/workflows/state/context.py,sha256=L2Xqt8jL1RJCCuSVyKakuZQdgb_YBVKSW6n_3nSAcLE,10974
|
|
@@ -2060,17 +2070,17 @@ vellum/workflows/state/store.py,sha256=uVe-oN73KwGV6M6YLhwZMMUQhzTQomsVfVnb8V91g
|
|
|
2060
2070
|
vellum/workflows/state/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2061
2071
|
vellum/workflows/state/tests/test_state.py,sha256=zEVFIY2any41X2BA5Us_qqKpzH5HRqmyrUJ04GTO0pU,7484
|
|
2062
2072
|
vellum/workflows/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2063
|
-
vellum/workflows/tests/test_dataset_row.py,sha256=
|
|
2064
|
-
vellum/workflows/tests/test_sandbox.py,sha256=
|
|
2073
|
+
vellum/workflows/tests/test_dataset_row.py,sha256=eHJ52VEQ661QUBrBQxvrD75zHYv6KuaKVXpqggklPaw,4840
|
|
2074
|
+
vellum/workflows/tests/test_sandbox.py,sha256=flKIwW4BaOepm9WVLAsVil50SzJE6sJSxKS-XURRaqo,2998
|
|
2065
2075
|
vellum/workflows/tests/test_undefined.py,sha256=zMCVliCXVNLrlC6hEGyOWDnQADJ2g83yc5FIM33zuo8,353
|
|
2066
|
-
vellum/workflows/tests/triggers/
|
|
2067
|
-
vellum/workflows/triggers/__init__.py,sha256
|
|
2068
|
-
vellum/workflows/triggers/base.py,sha256=
|
|
2069
|
-
vellum/workflows/triggers/integration.py,sha256=
|
|
2076
|
+
vellum/workflows/tests/triggers/test_integration_trigger.py,sha256=3PEJs4RY4gFjZsfCEEJo8NBK-9NDIvIV1Ig68WCF4Uc,5020
|
|
2077
|
+
vellum/workflows/triggers/__init__.py,sha256=dNcF16tEEKSrEkAVmKDdlbpMYUwmagB7LPAWbVo4LUs,331
|
|
2078
|
+
vellum/workflows/triggers/base.py,sha256=T_IZ8-yo-S7Z9Oa2UFHMfE123gwdztyQEj-J5c1Phdg,9005
|
|
2079
|
+
vellum/workflows/triggers/integration.py,sha256=_coibUaWnHVwjdTyh9hHW4FhBrZW9NlJlOek5b3auos,8107
|
|
2070
2080
|
vellum/workflows/triggers/manual.py,sha256=PgbZ92gcK25yz6REXm98zWic1QBfhxLKfGCeHpZEUx4,1266
|
|
2081
|
+
vellum/workflows/triggers/schedule.py,sha256=3XY519njXWvbBGoxOyQju9iAMVx8fYmce2eSD13bfWM,437
|
|
2071
2082
|
vellum/workflows/triggers/tests/__init__.py,sha256=R8lag_iCRyulijHMK4e3Gf6YVB5NplfvwZeTkaRj8gQ,30
|
|
2072
|
-
vellum/workflows/triggers/tests/test_integration.py,sha256=
|
|
2073
|
-
vellum/workflows/triggers/vellum_integration.py,sha256=AvqdAXRy5XWbFJtiyVLG0E82PslQrCex_srTGctPhFc,8419
|
|
2083
|
+
vellum/workflows/triggers/tests/test_integration.py,sha256=ENQp3oJ9CzgPEOxLXaWvBKgS-gp0mcYv1v6y4PyIiQQ,5246
|
|
2074
2084
|
vellum/workflows/types/__init__.py,sha256=fZ3Xxly7YSsu4kCIYD5aYpYucNM97zTyInb9CA24mf0,102
|
|
2075
2085
|
vellum/workflows/types/code_execution_node_wrappers.py,sha256=fewX9bqF_4TZuK-gZYIn12s31-k03vHMGRpvFAPm11Y,3206
|
|
2076
2086
|
vellum/workflows/types/core.py,sha256=R7snCd7ci4tiRuHi5ALGh_5DIIF0T9eze3sf6EnJN-c,1126
|
|
@@ -2091,19 +2101,19 @@ vellum/workflows/utils/tests/test_functions.py,sha256=J_WEyVX1yE3lUhoX8etgkbPuwQ
|
|
|
2091
2101
|
vellum/workflows/utils/tests/test_names.py,sha256=DnRRnuORxQXx9ESegCzkxiWcHy2_bBi7lXgbFi3FZK8,757
|
|
2092
2102
|
vellum/workflows/utils/tests/test_uuids.py,sha256=i77ABQ0M3S-aFLzDXHJq_yr5FPkJEWCMBn1HJ3DObrE,437
|
|
2093
2103
|
vellum/workflows/utils/tests/test_vellum_variables.py,sha256=X7b-bbN3bFRx0WG31bowcaOgsXxEPYnh2sgpsqgKIsQ,2096
|
|
2094
|
-
vellum/workflows/utils/uuids.py,sha256=
|
|
2104
|
+
vellum/workflows/utils/uuids.py,sha256=qgR6aQ4oEn_Q6ftIwvJpgcrkhicNZI9JVNovhOOauBw,2035
|
|
2095
2105
|
vellum/workflows/utils/vellum_variables.py,sha256=X3lZn-EoWengRWBWRhTNW7hqbj7LkV-6NSMwCskWEbg,7203
|
|
2096
2106
|
vellum/workflows/utils/zip.py,sha256=HVg_YZLmBOTXKaDV3Xhaf3V6sYnfqqZXQ8CpuafkbPY,1181
|
|
2097
2107
|
vellum/workflows/vellum_client.py,sha256=3iDR7VV_NgLSm1iZQCKDvrmfEaX1bOJiU15QrxyHpv0,1237
|
|
2098
2108
|
vellum/workflows/workflows/__init__.py,sha256=KY45TqvavCCvXIkyCFMEc0dc6jTMOUci93U2DUrlZYc,66
|
|
2099
|
-
vellum/workflows/workflows/base.py,sha256=
|
|
2109
|
+
vellum/workflows/workflows/base.py,sha256=aiOe-f33iK5-aaLrHANr2zkO9o7Oj550oM0hfWKD1Oo,35285
|
|
2100
2110
|
vellum/workflows/workflows/event_filters.py,sha256=OzaS1y_z1f7H4f4M914HttAfAuTiN0jXUmo1TUQagCY,2504
|
|
2101
2111
|
vellum/workflows/workflows/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2102
2112
|
vellum/workflows/workflows/tests/test_base_workflow.py,sha256=Boa-_m9ii2Qsa1RvVM-VYniF7zCpzGgEGy-OnPZkrHg,23941
|
|
2103
2113
|
vellum/workflows/workflows/tests/test_context.py,sha256=VJBUcyWVtMa_lE5KxdhgMu0WYNYnUQUDvTF7qm89hJ0,2333
|
|
2104
2114
|
vellum/workflows/workflows/tests/test_event_filters.py,sha256=CPsgtn2F8QMuNMxN5MB6IwTY0y_8JWBCZsio75vxp6c,3638
|
|
2105
|
-
vellum_ai-1.
|
|
2106
|
-
vellum_ai-1.
|
|
2107
|
-
vellum_ai-1.
|
|
2108
|
-
vellum_ai-1.
|
|
2109
|
-
vellum_ai-1.
|
|
2115
|
+
vellum_ai-1.9.0.dist-info/LICENSE,sha256=hOypcdt481qGNISA784bnAGWAE6tyIf9gc2E78mYC3E,1574
|
|
2116
|
+
vellum_ai-1.9.0.dist-info/METADATA,sha256=0gzlisJU0BzjSlBsIPV2XjhXbSV4zMdm_HuCR7NjDPY,5547
|
|
2117
|
+
vellum_ai-1.9.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
2118
|
+
vellum_ai-1.9.0.dist-info/entry_points.txt,sha256=xVavzAKN4iF_NbmhWOlOkHluka0YLkbN_pFQ9pW3gLI,117
|
|
2119
|
+
vellum_ai-1.9.0.dist-info/RECORD,,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
"""Tests for
|
|
1
|
+
"""Tests for IntegrationTrigger serialization."""
|
|
2
2
|
|
|
3
3
|
from vellum.workflows import BaseWorkflow
|
|
4
4
|
from vellum.workflows.inputs.base import BaseInputs
|
|
5
5
|
from vellum.workflows.nodes.bases.base import BaseNode
|
|
6
6
|
from vellum.workflows.state.base import BaseState
|
|
7
|
-
from vellum.workflows.triggers.
|
|
7
|
+
from vellum.workflows.triggers.integration import IntegrationTrigger
|
|
8
8
|
from vellum_ee.workflows.display.workflows.get_vellum_workflow_display_class import get_workflow_display
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
def test_vellum_integration_trigger_serialization():
|
|
12
|
-
"""
|
|
12
|
+
"""IntegrationTrigger subclass serializes with class name and module path."""
|
|
13
13
|
|
|
14
|
-
# Create a custom
|
|
15
|
-
class SlackMessageTrigger(
|
|
14
|
+
# Create a custom IntegrationTrigger subclass
|
|
15
|
+
class SlackMessageTrigger(IntegrationTrigger):
|
|
16
16
|
"""Custom Slack message trigger."""
|
|
17
17
|
|
|
18
18
|
message: str
|
|
@@ -71,7 +71,7 @@ def test_vellum_integration_trigger_serialization():
|
|
|
71
71
|
def test_vellum_integration_trigger_id_consistency():
|
|
72
72
|
"""Validates trigger and attribute IDs match between definitions and references."""
|
|
73
73
|
|
|
74
|
-
class SlackMessageTrigger(
|
|
74
|
+
class SlackMessageTrigger(IntegrationTrigger):
|
|
75
75
|
message: str
|
|
76
76
|
channel: str
|
|
77
77
|
|
|
@@ -147,7 +147,7 @@ def test_vellum_integration_trigger_id_consistency():
|
|
|
147
147
|
def test_trigger_module_paths_are_canonical():
|
|
148
148
|
"""Validates trigger module_path and class_name for consistent codegen."""
|
|
149
149
|
|
|
150
|
-
class TestSlackTrigger(
|
|
150
|
+
class TestSlackTrigger(IntegrationTrigger):
|
|
151
151
|
message: str
|
|
152
152
|
|
|
153
153
|
class Config:
|
|
@@ -184,7 +184,7 @@ def test_trigger_module_paths_are_canonical():
|
|
|
184
184
|
def test_integration_trigger_no_entrypoint_node():
|
|
185
185
|
"""IntegrationTrigger-only workflows use trigger ID in edges."""
|
|
186
186
|
|
|
187
|
-
class SlackMessageTrigger(
|
|
187
|
+
class SlackMessageTrigger(IntegrationTrigger):
|
|
188
188
|
message: str
|
|
189
189
|
|
|
190
190
|
class Config:
|
|
@@ -57,7 +57,7 @@ from vellum.workflows.references.workflow_input import WorkflowInputReference
|
|
|
57
57
|
from vellum.workflows.types.core import JsonArray, JsonObject
|
|
58
58
|
from vellum.workflows.types.generics import is_workflow_class
|
|
59
59
|
from vellum.workflows.utils.functions import compile_function_definition
|
|
60
|
-
from vellum.workflows.utils.uuids import
|
|
60
|
+
from vellum.workflows.utils.uuids import uuid4_from_hash
|
|
61
61
|
from vellum_ee.workflows.display.utils.exceptions import InvalidInputReferenceError, UnsupportedSerializationException
|
|
62
62
|
from vellum_ee.workflows.server.virtual_file_loader import VirtualFileLoader
|
|
63
63
|
|
|
@@ -353,9 +353,8 @@ def serialize_value(executable_id: UUID, display_context: "WorkflowDisplayContex
|
|
|
353
353
|
}
|
|
354
354
|
|
|
355
355
|
if isinstance(value, TriggerAttributeReference):
|
|
356
|
-
# Generate trigger ID using get_trigger_id to ensure consistency with trigger definitions
|
|
357
356
|
trigger_class = value.trigger_class
|
|
358
|
-
trigger_id =
|
|
357
|
+
trigger_id = trigger_class.__id__
|
|
359
358
|
|
|
360
359
|
return {
|
|
361
360
|
"type": "TRIGGER_ATTRIBUTE",
|
|
@@ -25,12 +25,12 @@ from vellum.workflows.nodes.utils import get_unadorned_node, get_unadorned_port,
|
|
|
25
25
|
from vellum.workflows.ports import Port
|
|
26
26
|
from vellum.workflows.references import OutputReference, WorkflowInputReference
|
|
27
27
|
from vellum.workflows.state.encoder import DefaultStateEncoder
|
|
28
|
+
from vellum.workflows.triggers.integration import IntegrationTrigger
|
|
28
29
|
from vellum.workflows.triggers.manual import ManualTrigger
|
|
29
|
-
from vellum.workflows.triggers.vellum_integration import VellumIntegrationTrigger
|
|
30
30
|
from vellum.workflows.types.core import Json, JsonArray, JsonObject
|
|
31
31
|
from vellum.workflows.types.generics import WorkflowType
|
|
32
32
|
from vellum.workflows.types.utils import get_original_base
|
|
33
|
-
from vellum.workflows.utils.uuids import
|
|
33
|
+
from vellum.workflows.utils.uuids import uuid4_from_hash
|
|
34
34
|
from vellum.workflows.utils.vellum_variables import primitive_type_to_vellum_variable_type
|
|
35
35
|
from vellum.workflows.vellum_client import create_vellum_client
|
|
36
36
|
from vellum_ee.workflows.display.base import (
|
|
@@ -190,7 +190,7 @@ class BaseWorkflowDisplay(Generic[WorkflowType]):
|
|
|
190
190
|
# For IntegrationTrigger only: no ENTRYPOINT node (use trigger ID directly in edges)
|
|
191
191
|
manual_trigger_edges = [edge for edge in trigger_edges if issubclass(edge.trigger_class, ManualTrigger)]
|
|
192
192
|
integration_trigger_edges = [
|
|
193
|
-
edge for edge in trigger_edges if issubclass(edge.trigger_class,
|
|
193
|
+
edge for edge in trigger_edges if issubclass(edge.trigger_class, IntegrationTrigger)
|
|
194
194
|
]
|
|
195
195
|
|
|
196
196
|
has_manual_trigger = len(manual_trigger_edges) > 0
|
|
@@ -202,7 +202,7 @@ class BaseWorkflowDisplay(Generic[WorkflowType]):
|
|
|
202
202
|
if has_manual_trigger:
|
|
203
203
|
# ManualTrigger: use trigger ID for ENTRYPOINT node (backward compatibility)
|
|
204
204
|
trigger_class = manual_trigger_edges[0].trigger_class
|
|
205
|
-
entrypoint_node_id =
|
|
205
|
+
entrypoint_node_id = trigger_class.__id__
|
|
206
206
|
entrypoint_node_source_handle_id = self.display_context.workflow_display.entrypoint_node_source_handle_id
|
|
207
207
|
|
|
208
208
|
# Add ENTRYPOINT node for ManualTrigger workflows
|
|
@@ -386,7 +386,7 @@ class BaseWorkflowDisplay(Generic[WorkflowType]):
|
|
|
386
386
|
if has_only_integration_trigger:
|
|
387
387
|
# Use trigger ID directly as sourceNodeId (no ENTRYPOINT node)
|
|
388
388
|
trigger_class = integration_trigger_edges[0].trigger_class
|
|
389
|
-
trigger_id =
|
|
389
|
+
trigger_id = trigger_class.__id__
|
|
390
390
|
trigger_source_handle_id = trigger_id # Use trigger ID as handle ID
|
|
391
391
|
|
|
392
392
|
for target_node, entrypoint_display in self.display_context.entrypoint_displays.items():
|
|
@@ -536,12 +536,12 @@ class BaseWorkflowDisplay(Generic[WorkflowType]):
|
|
|
536
536
|
f"{edge.trigger_class.__name__} in the same workflow."
|
|
537
537
|
)
|
|
538
538
|
|
|
539
|
-
# Get the trigger type from the mapping, or check if it's
|
|
539
|
+
# Get the trigger type from the mapping, or check if it's an IntegrationTrigger subclass
|
|
540
540
|
trigger_type = trigger_type_mapping.get(trigger_class)
|
|
541
541
|
if trigger_type is None:
|
|
542
|
-
# Check if it's
|
|
542
|
+
# Check if it's an IntegrationTrigger subclass
|
|
543
543
|
|
|
544
|
-
if issubclass(trigger_class,
|
|
544
|
+
if issubclass(trigger_class, IntegrationTrigger):
|
|
545
545
|
trigger_type = WorkflowTriggerType.INTEGRATION
|
|
546
546
|
else:
|
|
547
547
|
raise ValueError(
|
|
@@ -550,7 +550,7 @@ class BaseWorkflowDisplay(Generic[WorkflowType]):
|
|
|
550
550
|
)
|
|
551
551
|
|
|
552
552
|
# Return as a list with a single trigger object matching Django schema
|
|
553
|
-
trigger_id =
|
|
553
|
+
trigger_id = trigger_class.__id__
|
|
554
554
|
|
|
555
555
|
# Serialize trigger attributes like node outputs
|
|
556
556
|
attribute_references = trigger_class.attribute_references().values()
|
|
@@ -30,7 +30,11 @@ class VirtualFileLoader(importlib.abc.Loader):
|
|
|
30
30
|
|
|
31
31
|
if module_info:
|
|
32
32
|
file_path, code = module_info
|
|
33
|
-
|
|
33
|
+
namespaced_path = (
|
|
34
|
+
file_path if file_path.startswith(f"{self.namespace}/") else f"{self.namespace}/{file_path}"
|
|
35
|
+
)
|
|
36
|
+
module.__file__ = namespaced_path
|
|
37
|
+
compiled = compile(code, namespaced_path, "exec")
|
|
34
38
|
exec(compiled, module.__dict__)
|
|
35
39
|
|
|
36
40
|
def get_source(self, fullname):
|
|
@@ -58,6 +62,18 @@ class VirtualFileLoader(importlib.abc.Loader):
|
|
|
58
62
|
if code is not None:
|
|
59
63
|
return file_path, code
|
|
60
64
|
|
|
65
|
+
relative_name = self._to_relative(fullname)
|
|
66
|
+
if relative_name is not None and self._is_package_directory(relative_name):
|
|
67
|
+
return self._generate_init_content(relative_name)
|
|
68
|
+
|
|
69
|
+
return None
|
|
70
|
+
|
|
71
|
+
def _to_relative(self, fullname: str) -> Optional[str]:
|
|
72
|
+
"""Convert a fully qualified module name to a relative name without the namespace prefix."""
|
|
73
|
+
if fullname.startswith(self.namespace + "."):
|
|
74
|
+
return fullname[len(self.namespace) + 1 :]
|
|
75
|
+
elif fullname == self.namespace:
|
|
76
|
+
return ""
|
|
61
77
|
return None
|
|
62
78
|
|
|
63
79
|
def _get_file_path(self, fullname):
|
|
@@ -67,6 +83,62 @@ class VirtualFileLoader(importlib.abc.Loader):
|
|
|
67
83
|
file_key_name = re.sub(r"^" + re.escape(self.namespace) + r"/", "", file_path)
|
|
68
84
|
return self.files.get(file_key_name)
|
|
69
85
|
|
|
86
|
+
def _is_package_directory(self, fullname: str) -> bool:
|
|
87
|
+
"""Check if directory contains .py files that should be treated as a package."""
|
|
88
|
+
if fullname == "":
|
|
89
|
+
# This is the root namespace, so it's a package directory
|
|
90
|
+
return True
|
|
91
|
+
|
|
92
|
+
directory_prefix = fullname.replace(".", "/") + "/"
|
|
93
|
+
for file_path in self.files.keys():
|
|
94
|
+
if file_path.startswith(directory_prefix):
|
|
95
|
+
if file_path.endswith(".py") and not file_path.endswith("__init__.py"):
|
|
96
|
+
return True
|
|
97
|
+
remaining_path = file_path[len(directory_prefix) :]
|
|
98
|
+
if "/" in remaining_path:
|
|
99
|
+
return True
|
|
100
|
+
|
|
101
|
+
return False
|
|
102
|
+
|
|
103
|
+
def _generate_init_content(self, fullname: str) -> tuple[str, str]:
|
|
104
|
+
"""Auto-generate empty __init__.py content to mark directory as a package."""
|
|
105
|
+
if fullname == "":
|
|
106
|
+
if any(file_path.startswith("display/") for file_path in self.files.keys()):
|
|
107
|
+
return (
|
|
108
|
+
"__init__.py",
|
|
109
|
+
"""\
|
|
110
|
+
from .display import *
|
|
111
|
+
""",
|
|
112
|
+
)
|
|
113
|
+
else:
|
|
114
|
+
return "__init__.py", ""
|
|
115
|
+
|
|
116
|
+
directory_prefix = fullname.replace(".", "/") + "/"
|
|
117
|
+
file_path = directory_prefix + "__init__.py"
|
|
118
|
+
|
|
119
|
+
if not fullname.startswith("display"):
|
|
120
|
+
return "__init__.py", ""
|
|
121
|
+
|
|
122
|
+
# We have to go through the effort of exhaustively importing all display modules, because that's how
|
|
123
|
+
# dynamically annotate our Workflow graph.
|
|
124
|
+
all_nested_files = [
|
|
125
|
+
file_path[len(directory_prefix) :]
|
|
126
|
+
for file_path in self.files.keys()
|
|
127
|
+
if file_path.startswith(directory_prefix)
|
|
128
|
+
]
|
|
129
|
+
|
|
130
|
+
top_level_items = {file_path.split("/")[0] for file_path in all_nested_files}
|
|
131
|
+
|
|
132
|
+
top_level_modules = [
|
|
133
|
+
re.sub(r"\.py$", "", file_path)
|
|
134
|
+
for file_path in top_level_items
|
|
135
|
+
if file_path.endswith(".py") or "." not in file_path
|
|
136
|
+
]
|
|
137
|
+
|
|
138
|
+
code = "\n".join([f"from .{file_path} import *" for file_path in top_level_modules])
|
|
139
|
+
|
|
140
|
+
return file_path, code
|
|
141
|
+
|
|
70
142
|
|
|
71
143
|
class VirtualFileFinder(BaseWorkflowFinder):
|
|
72
144
|
def __init__(self, files: dict[str, str], namespace: str, source_module: Optional[str] = None):
|
|
@@ -82,7 +154,7 @@ class VirtualFileFinder(BaseWorkflowFinder):
|
|
|
82
154
|
|
|
83
155
|
def find_spec(self, fullname: str, path, target=None):
|
|
84
156
|
module_info = self.loader._resolve_module(fullname)
|
|
85
|
-
if module_info:
|
|
157
|
+
if isinstance(module_info, tuple) and len(module_info) == 2:
|
|
86
158
|
file_path, _ = module_info
|
|
87
159
|
is_package = file_path.endswith("__init__.py")
|
|
88
160
|
return importlib.machinery.ModuleSpec(
|