vellum-ai 0.3.8__tar.gz → 0.3.9__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (311) hide show
  1. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/PKG-INFO +1 -1
  2. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/pyproject.toml +1 -1
  3. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/__init__.py +26 -0
  4. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/core/client_wrapper.py +1 -1
  5. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/__init__.py +26 -0
  6. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/code_execution_node_result_data.py +1 -0
  7. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/node_input_compiled_array_value.py +1 -1
  8. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/node_output_compiled_array_value.py +1 -1
  9. vellum_ai-0.3.9/src/vellum/types/subworkflow_enum.py +5 -0
  10. vellum_ai-0.3.9/src/vellum/types/subworkflow_node_result.py +30 -0
  11. vellum_ai-0.3.9/src/vellum/types/terminal_node_array_result.py +31 -0
  12. vellum_ai-0.3.9/src/vellum/types/terminal_node_function_call_result.py +31 -0
  13. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/terminal_node_result_output.py +22 -0
  14. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/vellum_error_code_enum.py +5 -0
  15. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/workflow_execution_event_error_code.py +5 -0
  16. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/workflow_node_result_data.py +11 -0
  17. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/workflow_output.py +11 -0
  18. vellum_ai-0.3.9/src/vellum/types/workflow_output_array.py +35 -0
  19. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/workflow_result_event_output_data.py +22 -0
  20. vellum_ai-0.3.9/src/vellum/types/workflow_result_event_output_data_array.py +41 -0
  21. vellum_ai-0.3.9/src/vellum/types/workflow_result_event_output_data_function_call.py +41 -0
  22. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/LICENSE +0 -0
  23. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/README.md +0 -0
  24. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/client.py +0 -0
  25. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/core/__init__.py +0 -0
  26. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/core/api_error.py +0 -0
  27. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/core/datetime_utils.py +0 -0
  28. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/core/jsonable_encoder.py +0 -0
  29. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/core/remove_none_from_dict.py +0 -0
  30. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/environment.py +0 -0
  31. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/errors/__init__.py +0 -0
  32. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/errors/bad_request_error.py +0 -0
  33. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/errors/conflict_error.py +0 -0
  34. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/errors/forbidden_error.py +0 -0
  35. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/errors/internal_server_error.py +0 -0
  36. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/errors/not_found_error.py +0 -0
  37. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/py.typed +0 -0
  38. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/resources/__init__.py +0 -0
  39. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/resources/deployments/__init__.py +0 -0
  40. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/resources/deployments/client.py +0 -0
  41. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/resources/deployments/types/__init__.py +0 -0
  42. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/resources/deployments/types/deployments_list_request_status.py +0 -0
  43. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/resources/document_indexes/__init__.py +0 -0
  44. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/resources/document_indexes/client.py +0 -0
  45. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/resources/documents/__init__.py +0 -0
  46. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/resources/documents/client.py +0 -0
  47. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/resources/folder_entities/__init__.py +0 -0
  48. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/resources/folder_entities/client.py +0 -0
  49. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/resources/model_versions/__init__.py +0 -0
  50. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/resources/model_versions/client.py +0 -0
  51. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/resources/registered_prompts/__init__.py +0 -0
  52. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/resources/registered_prompts/client.py +0 -0
  53. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/resources/sandboxes/__init__.py +0 -0
  54. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/resources/sandboxes/client.py +0 -0
  55. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/resources/test_suites/__init__.py +0 -0
  56. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/resources/test_suites/client.py +0 -0
  57. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/resources/workflow_deployments/__init__.py +0 -0
  58. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/resources/workflow_deployments/client.py +0 -0
  59. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/resources/workflow_deployments/types/__init__.py +0 -0
  60. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/resources/workflow_deployments/types/workflow_deployments_list_request_status.py +0 -0
  61. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/api_node_result.py +0 -0
  62. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/api_node_result_data.py +0 -0
  63. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/array_chat_message_content.py +0 -0
  64. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/array_chat_message_content_item.py +0 -0
  65. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/array_chat_message_content_item_request.py +0 -0
  66. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/array_chat_message_content_request.py +0 -0
  67. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/array_enum.py +0 -0
  68. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/array_variable_value_item.py +0 -0
  69. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/block_type_enum.py +0 -0
  70. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/chat_history_enum.py +0 -0
  71. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/chat_history_input_request.py +0 -0
  72. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/chat_history_variable_value.py +0 -0
  73. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/chat_message.py +0 -0
  74. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/chat_message_content.py +0 -0
  75. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/chat_message_content_request.py +0 -0
  76. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/chat_message_request.py +0 -0
  77. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/chat_message_role.py +0 -0
  78. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/code_execution_node_chat_history_result.py +0 -0
  79. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/code_execution_node_error_result.py +0 -0
  80. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/code_execution_node_json_result.py +0 -0
  81. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/code_execution_node_number_result.py +0 -0
  82. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/code_execution_node_result.py +0 -0
  83. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/code_execution_node_result_output.py +0 -0
  84. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/code_execution_node_search_results_result.py +0 -0
  85. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/code_execution_node_string_result.py +0 -0
  86. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/conditional_node_result.py +0 -0
  87. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/conditional_node_result_data.py +0 -0
  88. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/deployment_provider_payload_response.py +0 -0
  89. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/deployment_read.py +0 -0
  90. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/document_document_to_document_index.py +0 -0
  91. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/document_index_read.py +0 -0
  92. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/document_read.py +0 -0
  93. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/document_status.py +0 -0
  94. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/enriched_normalized_completion.py +0 -0
  95. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/entity_status.py +0 -0
  96. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/environment_enum.py +0 -0
  97. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/error_enum.py +0 -0
  98. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/error_variable_value.py +0 -0
  99. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/execute_prompt_api_error_response.py +0 -0
  100. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/execute_prompt_event.py +0 -0
  101. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/execute_prompt_response.py +0 -0
  102. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/execute_workflow_error_response.py +0 -0
  103. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/execute_workflow_response.py +0 -0
  104. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/execute_workflow_stream_error_response.py +0 -0
  105. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/execute_workflow_workflow_result_event.py +0 -0
  106. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/finish_reason_enum.py +0 -0
  107. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/fulfilled_enum.py +0 -0
  108. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/fulfilled_execute_prompt_event.py +0 -0
  109. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/fulfilled_execute_prompt_response.py +0 -0
  110. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/fulfilled_execute_workflow_workflow_result_event.py +0 -0
  111. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/fulfilled_function_call.py +0 -0
  112. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/fulfilled_prompt_execution_meta.py +0 -0
  113. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/fulfilled_workflow_node_result_event.py +0 -0
  114. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/function_call.py +0 -0
  115. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/function_call_chat_message_content.py +0 -0
  116. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/function_call_chat_message_content_request.py +0 -0
  117. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/function_call_chat_message_content_value.py +0 -0
  118. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/function_call_chat_message_content_value_request.py +0 -0
  119. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/function_call_enum.py +0 -0
  120. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/function_call_variable_value.py +0 -0
  121. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/generate_error_response.py +0 -0
  122. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/generate_options_request.py +0 -0
  123. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/generate_request.py +0 -0
  124. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/generate_response.py +0 -0
  125. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/generate_result.py +0 -0
  126. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/generate_result_data.py +0 -0
  127. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/generate_result_error.py +0 -0
  128. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/generate_stream_response.py +0 -0
  129. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/generate_stream_result.py +0 -0
  130. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/generate_stream_result_data.py +0 -0
  131. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/image_chat_message_content.py +0 -0
  132. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/image_chat_message_content_request.py +0 -0
  133. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/image_enum.py +0 -0
  134. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/indexing_state_enum.py +0 -0
  135. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/initiated_enum.py +0 -0
  136. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/initiated_execute_prompt_event.py +0 -0
  137. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/initiated_prompt_execution_meta.py +0 -0
  138. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/initiated_workflow_node_result_event.py +0 -0
  139. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/json_enum.py +0 -0
  140. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/json_input_request.py +0 -0
  141. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/json_variable_value.py +0 -0
  142. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/logical_operator.py +0 -0
  143. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/logprobs_enum.py +0 -0
  144. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/metadata_filter_config_request.py +0 -0
  145. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/metadata_filter_rule_combinator.py +0 -0
  146. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/metadata_filter_rule_request.py +0 -0
  147. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/model_version_build_config.py +0 -0
  148. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/model_version_exec_config.py +0 -0
  149. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/model_version_exec_config_parameters.py +0 -0
  150. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/model_version_read.py +0 -0
  151. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/model_version_read_status_enum.py +0 -0
  152. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/model_version_sandbox_snapshot.py +0 -0
  153. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/named_test_case_chat_history_variable_value_request.py +0 -0
  154. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/named_test_case_error_variable_value_request.py +0 -0
  155. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/named_test_case_json_variable_value_request.py +0 -0
  156. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/named_test_case_number_variable_value_request.py +0 -0
  157. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/named_test_case_search_results_variable_value_request.py +0 -0
  158. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/named_test_case_string_variable_value_request.py +0 -0
  159. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/named_test_case_variable_value_request.py +0 -0
  160. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/node_input_compiled_chat_history_value.py +0 -0
  161. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/node_input_compiled_error_value.py +0 -0
  162. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/node_input_compiled_json_value.py +0 -0
  163. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/node_input_compiled_number_value.py +0 -0
  164. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/node_input_compiled_search_results_value.py +0 -0
  165. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/node_input_compiled_string_value.py +0 -0
  166. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/node_input_variable_compiled_value.py +0 -0
  167. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/node_output_compiled_chat_history_value.py +0 -0
  168. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/node_output_compiled_error_value.py +0 -0
  169. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/node_output_compiled_function_value.py +0 -0
  170. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/node_output_compiled_json_value.py +0 -0
  171. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/node_output_compiled_number_value.py +0 -0
  172. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/node_output_compiled_search_results_value.py +0 -0
  173. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/node_output_compiled_string_value.py +0 -0
  174. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/node_output_compiled_value.py +0 -0
  175. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/normalized_log_probs.py +0 -0
  176. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/normalized_token_log_probs.py +0 -0
  177. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/number_enum.py +0 -0
  178. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/number_variable_value.py +0 -0
  179. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/paginated_slim_deployment_read_list.py +0 -0
  180. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/paginated_slim_document_list.py +0 -0
  181. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/paginated_slim_workflow_deployment_list.py +0 -0
  182. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/processing_failure_reason_enum.py +0 -0
  183. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/processing_state_enum.py +0 -0
  184. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/prompt_deployment_expand_meta_request_request.py +0 -0
  185. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/prompt_deployment_input_request.py +0 -0
  186. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/prompt_execution_meta.py +0 -0
  187. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/prompt_node_result.py +0 -0
  188. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/prompt_node_result_data.py +0 -0
  189. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/prompt_output.py +0 -0
  190. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/prompt_template_block.py +0 -0
  191. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/prompt_template_block_data.py +0 -0
  192. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/prompt_template_block_data_request.py +0 -0
  193. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/prompt_template_block_properties.py +0 -0
  194. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/prompt_template_block_properties_request.py +0 -0
  195. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/prompt_template_block_request.py +0 -0
  196. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/provider_enum.py +0 -0
  197. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/raw_prompt_execution_overrides_request.py +0 -0
  198. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/register_prompt_error_response.py +0 -0
  199. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/register_prompt_model_parameters_request.py +0 -0
  200. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/register_prompt_prompt.py +0 -0
  201. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/register_prompt_prompt_info_request.py +0 -0
  202. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/register_prompt_response.py +0 -0
  203. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/registered_prompt_deployment.py +0 -0
  204. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/registered_prompt_input_variable_request.py +0 -0
  205. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/registered_prompt_model_version.py +0 -0
  206. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/registered_prompt_sandbox.py +0 -0
  207. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/registered_prompt_sandbox_snapshot.py +0 -0
  208. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/rejected_enum.py +0 -0
  209. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/rejected_execute_prompt_event.py +0 -0
  210. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/rejected_execute_prompt_response.py +0 -0
  211. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/rejected_execute_workflow_workflow_result_event.py +0 -0
  212. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/rejected_function_call.py +0 -0
  213. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/rejected_prompt_execution_meta.py +0 -0
  214. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/rejected_workflow_node_result_event.py +0 -0
  215. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/sandbox_scenario.py +0 -0
  216. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/scenario_input.py +0 -0
  217. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/scenario_input_request.py +0 -0
  218. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/scenario_input_type_enum.py +0 -0
  219. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/search_error_response.py +0 -0
  220. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/search_filters_request.py +0 -0
  221. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/search_node_result.py +0 -0
  222. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/search_node_result_data.py +0 -0
  223. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/search_request_options_request.py +0 -0
  224. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/search_response.py +0 -0
  225. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/search_result.py +0 -0
  226. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/search_result_document.py +0 -0
  227. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/search_result_document_request.py +0 -0
  228. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/search_result_merging_request.py +0 -0
  229. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/search_result_request.py +0 -0
  230. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/search_results_enum.py +0 -0
  231. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/search_results_variable_value.py +0 -0
  232. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/search_weights_request.py +0 -0
  233. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/slim_deployment_read.py +0 -0
  234. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/slim_document.py +0 -0
  235. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/slim_workflow_deployment.py +0 -0
  236. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/streaming_enum.py +0 -0
  237. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/streaming_execute_prompt_event.py +0 -0
  238. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/streaming_prompt_execution_meta.py +0 -0
  239. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/streaming_workflow_node_result_event.py +0 -0
  240. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/string_chat_message_content.py +0 -0
  241. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/string_chat_message_content_request.py +0 -0
  242. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/string_enum.py +0 -0
  243. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/string_input_request.py +0 -0
  244. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/string_variable_value.py +0 -0
  245. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/submit_completion_actual_request.py +0 -0
  246. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/submit_completion_actuals_error_response.py +0 -0
  247. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/submit_workflow_execution_actual_request.py +0 -0
  248. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/templating_node_chat_history_result.py +0 -0
  249. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/templating_node_error_result.py +0 -0
  250. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/templating_node_json_result.py +0 -0
  251. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/templating_node_number_result.py +0 -0
  252. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/templating_node_result.py +0 -0
  253. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/templating_node_result_data.py +0 -0
  254. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/templating_node_result_output.py +0 -0
  255. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/templating_node_search_results_result.py +0 -0
  256. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/templating_node_string_result.py +0 -0
  257. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/terminal_node_chat_history_result.py +0 -0
  258. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/terminal_node_error_result.py +0 -0
  259. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/terminal_node_json_result.py +0 -0
  260. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/terminal_node_number_result.py +0 -0
  261. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/terminal_node_result.py +0 -0
  262. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/terminal_node_result_data.py +0 -0
  263. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/terminal_node_search_results_result.py +0 -0
  264. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/terminal_node_string_result.py +0 -0
  265. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/test_case_chat_history_variable_value.py +0 -0
  266. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/test_case_error_variable_value.py +0 -0
  267. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/test_case_json_variable_value.py +0 -0
  268. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/test_case_number_variable_value.py +0 -0
  269. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/test_case_search_results_variable_value.py +0 -0
  270. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/test_case_string_variable_value.py +0 -0
  271. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/test_case_variable_value.py +0 -0
  272. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/test_suite_test_case.py +0 -0
  273. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/upload_document_error_response.py +0 -0
  274. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/upload_document_response.py +0 -0
  275. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/vellum_error.py +0 -0
  276. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/vellum_error_request.py +0 -0
  277. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/vellum_image.py +0 -0
  278. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/vellum_image_request.py +0 -0
  279. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/vellum_variable.py +0 -0
  280. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/vellum_variable_type.py +0 -0
  281. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/workflow_deployment_read.py +0 -0
  282. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/workflow_event_error.py +0 -0
  283. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/workflow_execution_actual_chat_history_request.py +0 -0
  284. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/workflow_execution_actual_json_request.py +0 -0
  285. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/workflow_execution_actual_string_request.py +0 -0
  286. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/workflow_execution_event_type.py +0 -0
  287. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/workflow_execution_node_result_event.py +0 -0
  288. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/workflow_execution_workflow_result_event.py +0 -0
  289. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/workflow_node_result_event.py +0 -0
  290. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/workflow_node_result_event_state.py +0 -0
  291. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/workflow_output_chat_history.py +0 -0
  292. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/workflow_output_error.py +0 -0
  293. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/workflow_output_function_call.py +0 -0
  294. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/workflow_output_image.py +0 -0
  295. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/workflow_output_json.py +0 -0
  296. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/workflow_output_number.py +0 -0
  297. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/workflow_output_search_results.py +0 -0
  298. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/workflow_output_string.py +0 -0
  299. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/workflow_request_chat_history_input_request.py +0 -0
  300. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/workflow_request_input_request.py +0 -0
  301. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/workflow_request_json_input_request.py +0 -0
  302. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/workflow_request_number_input_request.py +0 -0
  303. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/workflow_request_string_input_request.py +0 -0
  304. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/workflow_result_event.py +0 -0
  305. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/workflow_result_event_output_data_chat_history.py +0 -0
  306. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/workflow_result_event_output_data_error.py +0 -0
  307. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/workflow_result_event_output_data_json.py +0 -0
  308. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/workflow_result_event_output_data_number.py +0 -0
  309. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/workflow_result_event_output_data_search_results.py +0 -0
  310. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/workflow_result_event_output_data_string.py +0 -0
  311. {vellum_ai-0.3.8 → vellum_ai-0.3.9}/src/vellum/types/workflow_stream_event.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vellum-ai
3
- Version: 0.3.8
3
+ Version: 0.3.9
4
4
  Summary:
5
5
  Requires-Python: >=3.7,<4.0
6
6
  Classifier: Programming Language :: Python :: 3
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "vellum-ai"
3
- version = "0.3.8"
3
+ version = "0.3.9"
4
4
  description = ""
5
5
  readme = "README.md"
6
6
  authors = []
@@ -259,6 +259,8 @@ from .types import (
259
259
  SubmitWorkflowExecutionActualRequest_ChatHistory,
260
260
  SubmitWorkflowExecutionActualRequest_Json,
261
261
  SubmitWorkflowExecutionActualRequest_String,
262
+ SubworkflowEnum,
263
+ SubworkflowNodeResult,
262
264
  TemplatingNodeChatHistoryResult,
263
265
  TemplatingNodeErrorResult,
264
266
  TemplatingNodeJsonResult,
@@ -274,15 +276,19 @@ from .types import (
274
276
  TemplatingNodeResultOutput_String,
275
277
  TemplatingNodeSearchResultsResult,
276
278
  TemplatingNodeStringResult,
279
+ TerminalNodeArrayResult,
277
280
  TerminalNodeChatHistoryResult,
278
281
  TerminalNodeErrorResult,
282
+ TerminalNodeFunctionCallResult,
279
283
  TerminalNodeJsonResult,
280
284
  TerminalNodeNumberResult,
281
285
  TerminalNodeResult,
282
286
  TerminalNodeResultData,
283
287
  TerminalNodeResultOutput,
288
+ TerminalNodeResultOutput_Array,
284
289
  TerminalNodeResultOutput_ChatHistory,
285
290
  TerminalNodeResultOutput_Error,
291
+ TerminalNodeResultOutput_FunctionCall,
286
292
  TerminalNodeResultOutput_Json,
287
293
  TerminalNodeResultOutput_Number,
288
294
  TerminalNodeResultOutput_SearchResults,
@@ -327,6 +333,7 @@ from .types import (
327
333
  WorkflowNodeResultData_Conditional,
328
334
  WorkflowNodeResultData_Prompt,
329
335
  WorkflowNodeResultData_Search,
336
+ WorkflowNodeResultData_Subworkflow,
330
337
  WorkflowNodeResultData_Templating,
331
338
  WorkflowNodeResultData_Terminal,
332
339
  WorkflowNodeResultEvent,
@@ -336,6 +343,7 @@ from .types import (
336
343
  WorkflowNodeResultEvent_Rejected,
337
344
  WorkflowNodeResultEvent_Streaming,
338
345
  WorkflowOutput,
346
+ WorkflowOutputArray,
339
347
  WorkflowOutputChatHistory,
340
348
  WorkflowOutputError,
341
349
  WorkflowOutputFunctionCall,
@@ -344,6 +352,7 @@ from .types import (
344
352
  WorkflowOutputNumber,
345
353
  WorkflowOutputSearchResults,
346
354
  WorkflowOutputString,
355
+ WorkflowOutput_Array,
347
356
  WorkflowOutput_ChatHistory,
348
357
  WorkflowOutput_Error,
349
358
  WorkflowOutput_FunctionCall,
@@ -363,14 +372,18 @@ from .types import (
363
372
  WorkflowRequestStringInputRequest,
364
373
  WorkflowResultEvent,
365
374
  WorkflowResultEventOutputData,
375
+ WorkflowResultEventOutputDataArray,
366
376
  WorkflowResultEventOutputDataChatHistory,
367
377
  WorkflowResultEventOutputDataError,
378
+ WorkflowResultEventOutputDataFunctionCall,
368
379
  WorkflowResultEventOutputDataJson,
369
380
  WorkflowResultEventOutputDataNumber,
370
381
  WorkflowResultEventOutputDataSearchResults,
371
382
  WorkflowResultEventOutputDataString,
383
+ WorkflowResultEventOutputData_Array,
372
384
  WorkflowResultEventOutputData_ChatHistory,
373
385
  WorkflowResultEventOutputData_Error,
386
+ WorkflowResultEventOutputData_FunctionCall,
374
387
  WorkflowResultEventOutputData_Json,
375
388
  WorkflowResultEventOutputData_Number,
376
389
  WorkflowResultEventOutputData_SearchResults,
@@ -660,6 +673,8 @@ __all__ = [
660
673
  "SubmitWorkflowExecutionActualRequest_ChatHistory",
661
674
  "SubmitWorkflowExecutionActualRequest_Json",
662
675
  "SubmitWorkflowExecutionActualRequest_String",
676
+ "SubworkflowEnum",
677
+ "SubworkflowNodeResult",
663
678
  "TemplatingNodeChatHistoryResult",
664
679
  "TemplatingNodeErrorResult",
665
680
  "TemplatingNodeJsonResult",
@@ -675,15 +690,19 @@ __all__ = [
675
690
  "TemplatingNodeResultOutput_String",
676
691
  "TemplatingNodeSearchResultsResult",
677
692
  "TemplatingNodeStringResult",
693
+ "TerminalNodeArrayResult",
678
694
  "TerminalNodeChatHistoryResult",
679
695
  "TerminalNodeErrorResult",
696
+ "TerminalNodeFunctionCallResult",
680
697
  "TerminalNodeJsonResult",
681
698
  "TerminalNodeNumberResult",
682
699
  "TerminalNodeResult",
683
700
  "TerminalNodeResultData",
684
701
  "TerminalNodeResultOutput",
702
+ "TerminalNodeResultOutput_Array",
685
703
  "TerminalNodeResultOutput_ChatHistory",
686
704
  "TerminalNodeResultOutput_Error",
705
+ "TerminalNodeResultOutput_FunctionCall",
687
706
  "TerminalNodeResultOutput_Json",
688
707
  "TerminalNodeResultOutput_Number",
689
708
  "TerminalNodeResultOutput_SearchResults",
@@ -730,6 +749,7 @@ __all__ = [
730
749
  "WorkflowNodeResultData_Conditional",
731
750
  "WorkflowNodeResultData_Prompt",
732
751
  "WorkflowNodeResultData_Search",
752
+ "WorkflowNodeResultData_Subworkflow",
733
753
  "WorkflowNodeResultData_Templating",
734
754
  "WorkflowNodeResultData_Terminal",
735
755
  "WorkflowNodeResultEvent",
@@ -739,6 +759,7 @@ __all__ = [
739
759
  "WorkflowNodeResultEvent_Rejected",
740
760
  "WorkflowNodeResultEvent_Streaming",
741
761
  "WorkflowOutput",
762
+ "WorkflowOutputArray",
742
763
  "WorkflowOutputChatHistory",
743
764
  "WorkflowOutputError",
744
765
  "WorkflowOutputFunctionCall",
@@ -747,6 +768,7 @@ __all__ = [
747
768
  "WorkflowOutputNumber",
748
769
  "WorkflowOutputSearchResults",
749
770
  "WorkflowOutputString",
771
+ "WorkflowOutput_Array",
750
772
  "WorkflowOutput_ChatHistory",
751
773
  "WorkflowOutput_Error",
752
774
  "WorkflowOutput_FunctionCall",
@@ -766,14 +788,18 @@ __all__ = [
766
788
  "WorkflowRequestStringInputRequest",
767
789
  "WorkflowResultEvent",
768
790
  "WorkflowResultEventOutputData",
791
+ "WorkflowResultEventOutputDataArray",
769
792
  "WorkflowResultEventOutputDataChatHistory",
770
793
  "WorkflowResultEventOutputDataError",
794
+ "WorkflowResultEventOutputDataFunctionCall",
771
795
  "WorkflowResultEventOutputDataJson",
772
796
  "WorkflowResultEventOutputDataNumber",
773
797
  "WorkflowResultEventOutputDataSearchResults",
774
798
  "WorkflowResultEventOutputDataString",
799
+ "WorkflowResultEventOutputData_Array",
775
800
  "WorkflowResultEventOutputData_ChatHistory",
776
801
  "WorkflowResultEventOutputData_Error",
802
+ "WorkflowResultEventOutputData_FunctionCall",
777
803
  "WorkflowResultEventOutputData_Json",
778
804
  "WorkflowResultEventOutputData_Number",
779
805
  "WorkflowResultEventOutputData_SearchResults",
@@ -16,7 +16,7 @@ class BaseClientWrapper:
16
16
  headers: typing.Dict[str, str] = {
17
17
  "X-Fern-Language": "Python",
18
18
  "X-Fern-SDK-Name": "vellum-ai",
19
- "X-Fern-SDK-Version": "0.3.8",
19
+ "X-Fern-SDK-Version": "0.3.9",
20
20
  }
21
21
  headers["X_API_KEY"] = self.api_key
22
22
  return headers
@@ -286,6 +286,8 @@ from .submit_workflow_execution_actual_request import (
286
286
  SubmitWorkflowExecutionActualRequest_Json,
287
287
  SubmitWorkflowExecutionActualRequest_String,
288
288
  )
289
+ from .subworkflow_enum import SubworkflowEnum
290
+ from .subworkflow_node_result import SubworkflowNodeResult
289
291
  from .templating_node_chat_history_result import TemplatingNodeChatHistoryResult
290
292
  from .templating_node_error_result import TemplatingNodeErrorResult
291
293
  from .templating_node_json_result import TemplatingNodeJsonResult
@@ -303,16 +305,20 @@ from .templating_node_result_output import (
303
305
  )
304
306
  from .templating_node_search_results_result import TemplatingNodeSearchResultsResult
305
307
  from .templating_node_string_result import TemplatingNodeStringResult
308
+ from .terminal_node_array_result import TerminalNodeArrayResult
306
309
  from .terminal_node_chat_history_result import TerminalNodeChatHistoryResult
307
310
  from .terminal_node_error_result import TerminalNodeErrorResult
311
+ from .terminal_node_function_call_result import TerminalNodeFunctionCallResult
308
312
  from .terminal_node_json_result import TerminalNodeJsonResult
309
313
  from .terminal_node_number_result import TerminalNodeNumberResult
310
314
  from .terminal_node_result import TerminalNodeResult
311
315
  from .terminal_node_result_data import TerminalNodeResultData
312
316
  from .terminal_node_result_output import (
313
317
  TerminalNodeResultOutput,
318
+ TerminalNodeResultOutput_Array,
314
319
  TerminalNodeResultOutput_ChatHistory,
315
320
  TerminalNodeResultOutput_Error,
321
+ TerminalNodeResultOutput_FunctionCall,
316
322
  TerminalNodeResultOutput_Json,
317
323
  TerminalNodeResultOutput_Number,
318
324
  TerminalNodeResultOutput_SearchResults,
@@ -361,6 +367,7 @@ from .workflow_node_result_data import (
361
367
  WorkflowNodeResultData_Conditional,
362
368
  WorkflowNodeResultData_Prompt,
363
369
  WorkflowNodeResultData_Search,
370
+ WorkflowNodeResultData_Subworkflow,
364
371
  WorkflowNodeResultData_Templating,
365
372
  WorkflowNodeResultData_Terminal,
366
373
  )
@@ -374,6 +381,7 @@ from .workflow_node_result_event import (
374
381
  from .workflow_node_result_event_state import WorkflowNodeResultEventState
375
382
  from .workflow_output import (
376
383
  WorkflowOutput,
384
+ WorkflowOutput_Array,
377
385
  WorkflowOutput_ChatHistory,
378
386
  WorkflowOutput_Error,
379
387
  WorkflowOutput_FunctionCall,
@@ -383,6 +391,7 @@ from .workflow_output import (
383
391
  WorkflowOutput_SearchResults,
384
392
  WorkflowOutput_String,
385
393
  )
394
+ from .workflow_output_array import WorkflowOutputArray
386
395
  from .workflow_output_chat_history import WorkflowOutputChatHistory
387
396
  from .workflow_output_error import WorkflowOutputError
388
397
  from .workflow_output_function_call import WorkflowOutputFunctionCall
@@ -405,15 +414,19 @@ from .workflow_request_string_input_request import WorkflowRequestStringInputReq
405
414
  from .workflow_result_event import WorkflowResultEvent
406
415
  from .workflow_result_event_output_data import (
407
416
  WorkflowResultEventOutputData,
417
+ WorkflowResultEventOutputData_Array,
408
418
  WorkflowResultEventOutputData_ChatHistory,
409
419
  WorkflowResultEventOutputData_Error,
420
+ WorkflowResultEventOutputData_FunctionCall,
410
421
  WorkflowResultEventOutputData_Json,
411
422
  WorkflowResultEventOutputData_Number,
412
423
  WorkflowResultEventOutputData_SearchResults,
413
424
  WorkflowResultEventOutputData_String,
414
425
  )
426
+ from .workflow_result_event_output_data_array import WorkflowResultEventOutputDataArray
415
427
  from .workflow_result_event_output_data_chat_history import WorkflowResultEventOutputDataChatHistory
416
428
  from .workflow_result_event_output_data_error import WorkflowResultEventOutputDataError
429
+ from .workflow_result_event_output_data_function_call import WorkflowResultEventOutputDataFunctionCall
417
430
  from .workflow_result_event_output_data_json import WorkflowResultEventOutputDataJson
418
431
  from .workflow_result_event_output_data_number import WorkflowResultEventOutputDataNumber
419
432
  from .workflow_result_event_output_data_search_results import WorkflowResultEventOutputDataSearchResults
@@ -679,6 +692,8 @@ __all__ = [
679
692
  "SubmitWorkflowExecutionActualRequest_ChatHistory",
680
693
  "SubmitWorkflowExecutionActualRequest_Json",
681
694
  "SubmitWorkflowExecutionActualRequest_String",
695
+ "SubworkflowEnum",
696
+ "SubworkflowNodeResult",
682
697
  "TemplatingNodeChatHistoryResult",
683
698
  "TemplatingNodeErrorResult",
684
699
  "TemplatingNodeJsonResult",
@@ -694,15 +709,19 @@ __all__ = [
694
709
  "TemplatingNodeResultOutput_String",
695
710
  "TemplatingNodeSearchResultsResult",
696
711
  "TemplatingNodeStringResult",
712
+ "TerminalNodeArrayResult",
697
713
  "TerminalNodeChatHistoryResult",
698
714
  "TerminalNodeErrorResult",
715
+ "TerminalNodeFunctionCallResult",
699
716
  "TerminalNodeJsonResult",
700
717
  "TerminalNodeNumberResult",
701
718
  "TerminalNodeResult",
702
719
  "TerminalNodeResultData",
703
720
  "TerminalNodeResultOutput",
721
+ "TerminalNodeResultOutput_Array",
704
722
  "TerminalNodeResultOutput_ChatHistory",
705
723
  "TerminalNodeResultOutput_Error",
724
+ "TerminalNodeResultOutput_FunctionCall",
706
725
  "TerminalNodeResultOutput_Json",
707
726
  "TerminalNodeResultOutput_Number",
708
727
  "TerminalNodeResultOutput_SearchResults",
@@ -747,6 +766,7 @@ __all__ = [
747
766
  "WorkflowNodeResultData_Conditional",
748
767
  "WorkflowNodeResultData_Prompt",
749
768
  "WorkflowNodeResultData_Search",
769
+ "WorkflowNodeResultData_Subworkflow",
750
770
  "WorkflowNodeResultData_Templating",
751
771
  "WorkflowNodeResultData_Terminal",
752
772
  "WorkflowNodeResultEvent",
@@ -756,6 +776,7 @@ __all__ = [
756
776
  "WorkflowNodeResultEvent_Rejected",
757
777
  "WorkflowNodeResultEvent_Streaming",
758
778
  "WorkflowOutput",
779
+ "WorkflowOutputArray",
759
780
  "WorkflowOutputChatHistory",
760
781
  "WorkflowOutputError",
761
782
  "WorkflowOutputFunctionCall",
@@ -764,6 +785,7 @@ __all__ = [
764
785
  "WorkflowOutputNumber",
765
786
  "WorkflowOutputSearchResults",
766
787
  "WorkflowOutputString",
788
+ "WorkflowOutput_Array",
767
789
  "WorkflowOutput_ChatHistory",
768
790
  "WorkflowOutput_Error",
769
791
  "WorkflowOutput_FunctionCall",
@@ -783,14 +805,18 @@ __all__ = [
783
805
  "WorkflowRequestStringInputRequest",
784
806
  "WorkflowResultEvent",
785
807
  "WorkflowResultEventOutputData",
808
+ "WorkflowResultEventOutputDataArray",
786
809
  "WorkflowResultEventOutputDataChatHistory",
787
810
  "WorkflowResultEventOutputDataError",
811
+ "WorkflowResultEventOutputDataFunctionCall",
788
812
  "WorkflowResultEventOutputDataJson",
789
813
  "WorkflowResultEventOutputDataNumber",
790
814
  "WorkflowResultEventOutputDataSearchResults",
791
815
  "WorkflowResultEventOutputDataString",
816
+ "WorkflowResultEventOutputData_Array",
792
817
  "WorkflowResultEventOutputData_ChatHistory",
793
818
  "WorkflowResultEventOutputData_Error",
819
+ "WorkflowResultEventOutputData_FunctionCall",
794
820
  "WorkflowResultEventOutputData_Json",
795
821
  "WorkflowResultEventOutputData_Number",
796
822
  "WorkflowResultEventOutputData_SearchResults",
@@ -14,6 +14,7 @@ except ImportError:
14
14
 
15
15
  class CodeExecutionNodeResultData(pydantic.BaseModel):
16
16
  output: CodeExecutionNodeResultOutput
17
+ log_output_id: typing.Optional[str]
17
18
 
18
19
  def json(self, **kwargs: typing.Any) -> str:
19
20
  kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
@@ -15,7 +15,7 @@ except ImportError:
15
15
  class NodeInputCompiledArrayValue(pydantic.BaseModel):
16
16
  node_input_id: str
17
17
  key: str
18
- value: typing.List[ArrayVariableValueItem]
18
+ value: typing.Optional[typing.List[ArrayVariableValueItem]]
19
19
 
20
20
  def json(self, **kwargs: typing.Any) -> str:
21
21
  kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
@@ -14,7 +14,7 @@ except ImportError:
14
14
 
15
15
  class NodeOutputCompiledArrayValue(pydantic.BaseModel):
16
16
  node_output_id: str
17
- value: typing.List[ArrayVariableValueItem]
17
+ value: typing.Optional[typing.List[ArrayVariableValueItem]]
18
18
 
19
19
  def json(self, **kwargs: typing.Any) -> str:
20
20
  kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
@@ -0,0 +1,5 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing_extensions
4
+
5
+ SubworkflowEnum = typing_extensions.Literal["SUBWORKFLOW"]
@@ -0,0 +1,30 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import datetime as dt
4
+ import typing
5
+
6
+ from ..core.datetime_utils import serialize_datetime
7
+
8
+ try:
9
+ import pydantic.v1 as pydantic # type: ignore
10
+ except ImportError:
11
+ import pydantic # type: ignore
12
+
13
+
14
+ class SubworkflowNodeResult(pydantic.BaseModel):
15
+ """
16
+ A Node Result Event emitted from a Subworkflow Node.
17
+ """
18
+
19
+ def json(self, **kwargs: typing.Any) -> str:
20
+ kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
21
+ return super().json(**kwargs_with_defaults)
22
+
23
+ def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
24
+ kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
25
+ return super().dict(**kwargs_with_defaults)
26
+
27
+ class Config:
28
+ frozen = True
29
+ smart_union = True
30
+ json_encoders = {dt.datetime: serialize_datetime}
@@ -0,0 +1,31 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import datetime as dt
4
+ import typing
5
+
6
+ from ..core.datetime_utils import serialize_datetime
7
+ from .array_variable_value_item import ArrayVariableValueItem
8
+
9
+ try:
10
+ import pydantic.v1 as pydantic # type: ignore
11
+ except ImportError:
12
+ import pydantic # type: ignore
13
+
14
+
15
+ class TerminalNodeArrayResult(pydantic.BaseModel):
16
+ id: typing.Optional[str]
17
+ name: str = pydantic.Field(description="The unique name given to the terminal node that produced this output.")
18
+ value: typing.Optional[typing.List[ArrayVariableValueItem]]
19
+
20
+ def json(self, **kwargs: typing.Any) -> str:
21
+ kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
22
+ return super().json(**kwargs_with_defaults)
23
+
24
+ def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
25
+ kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
26
+ return super().dict(**kwargs_with_defaults)
27
+
28
+ class Config:
29
+ frozen = True
30
+ smart_union = True
31
+ json_encoders = {dt.datetime: serialize_datetime}
@@ -0,0 +1,31 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import datetime as dt
4
+ import typing
5
+
6
+ from ..core.datetime_utils import serialize_datetime
7
+ from .function_call import FunctionCall
8
+
9
+ try:
10
+ import pydantic.v1 as pydantic # type: ignore
11
+ except ImportError:
12
+ import pydantic # type: ignore
13
+
14
+
15
+ class TerminalNodeFunctionCallResult(pydantic.BaseModel):
16
+ id: typing.Optional[str]
17
+ name: str = pydantic.Field(description="The unique name given to the terminal node that produced this output.")
18
+ value: typing.Optional[FunctionCall]
19
+
20
+ def json(self, **kwargs: typing.Any) -> str:
21
+ kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
22
+ return super().json(**kwargs_with_defaults)
23
+
24
+ def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
25
+ kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
26
+ return super().dict(**kwargs_with_defaults)
27
+
28
+ class Config:
29
+ frozen = True
30
+ smart_union = True
31
+ json_encoders = {dt.datetime: serialize_datetime}
@@ -6,8 +6,10 @@ import typing
6
6
 
7
7
  import typing_extensions
8
8
 
9
+ from .terminal_node_array_result import TerminalNodeArrayResult
9
10
  from .terminal_node_chat_history_result import TerminalNodeChatHistoryResult
10
11
  from .terminal_node_error_result import TerminalNodeErrorResult
12
+ from .terminal_node_function_call_result import TerminalNodeFunctionCallResult
11
13
  from .terminal_node_json_result import TerminalNodeJsonResult
12
14
  from .terminal_node_number_result import TerminalNodeNumberResult
13
15
  from .terminal_node_search_results_result import TerminalNodeSearchResultsResult
@@ -59,6 +61,24 @@ class TerminalNodeResultOutput_SearchResults(TerminalNodeSearchResultsResult):
59
61
  allow_population_by_field_name = True
60
62
 
61
63
 
64
+ class TerminalNodeResultOutput_Array(TerminalNodeArrayResult):
65
+ type: typing_extensions.Literal["ARRAY"]
66
+
67
+ class Config:
68
+ frozen = True
69
+ smart_union = True
70
+ allow_population_by_field_name = True
71
+
72
+
73
+ class TerminalNodeResultOutput_FunctionCall(TerminalNodeFunctionCallResult):
74
+ type: typing_extensions.Literal["FUNCTION_CALL"]
75
+
76
+ class Config:
77
+ frozen = True
78
+ smart_union = True
79
+ allow_population_by_field_name = True
80
+
81
+
62
82
  class TerminalNodeResultOutput_Error(TerminalNodeErrorResult):
63
83
  type: typing_extensions.Literal["ERROR"]
64
84
 
@@ -74,5 +94,7 @@ TerminalNodeResultOutput = typing.Union[
74
94
  TerminalNodeResultOutput_Json,
75
95
  TerminalNodeResultOutput_ChatHistory,
76
96
  TerminalNodeResultOutput_SearchResults,
97
+ TerminalNodeResultOutput_Array,
98
+ TerminalNodeResultOutput_FunctionCall,
77
99
  TerminalNodeResultOutput_Error,
78
100
  ]
@@ -11,17 +11,20 @@ class VellumErrorCodeEnum(str, enum.Enum):
11
11
  - `INVALID_REQUEST` - INVALID_REQUEST
12
12
  - `PROVIDER_ERROR` - PROVIDER_ERROR
13
13
  - `INTERNAL_SERVER_ERROR` - INTERNAL_SERVER_ERROR
14
+ - `USER_DEFINED_ERROR` - USER_DEFINED_ERROR
14
15
  """
15
16
 
16
17
  INVALID_REQUEST = "INVALID_REQUEST"
17
18
  PROVIDER_ERROR = "PROVIDER_ERROR"
18
19
  INTERNAL_SERVER_ERROR = "INTERNAL_SERVER_ERROR"
20
+ USER_DEFINED_ERROR = "USER_DEFINED_ERROR"
19
21
 
20
22
  def visit(
21
23
  self,
22
24
  invalid_request: typing.Callable[[], T_Result],
23
25
  provider_error: typing.Callable[[], T_Result],
24
26
  internal_server_error: typing.Callable[[], T_Result],
27
+ user_defined_error: typing.Callable[[], T_Result],
25
28
  ) -> T_Result:
26
29
  if self is VellumErrorCodeEnum.INVALID_REQUEST:
27
30
  return invalid_request()
@@ -29,3 +32,5 @@ class VellumErrorCodeEnum(str, enum.Enum):
29
32
  return provider_error()
30
33
  if self is VellumErrorCodeEnum.INTERNAL_SERVER_ERROR:
31
34
  return internal_server_error()
35
+ if self is VellumErrorCodeEnum.USER_DEFINED_ERROR:
36
+ return user_defined_error()
@@ -14,6 +14,7 @@ class WorkflowExecutionEventErrorCode(str, enum.Enum):
14
14
  - `NODE_EXECUTION` - NODE_EXECUTION
15
15
  - `LLM_PROVIDER` - LLM_PROVIDER
16
16
  - `INVALID_TEMPLATE` - INVALID_TEMPLATE
17
+ - `USER_DEFINED_ERROR` - USER_DEFINED_ERROR
17
18
  """
18
19
 
19
20
  WORKFLOW_INITIALIZATION = "WORKFLOW_INITIALIZATION"
@@ -22,6 +23,7 @@ class WorkflowExecutionEventErrorCode(str, enum.Enum):
22
23
  NODE_EXECUTION = "NODE_EXECUTION"
23
24
  LLM_PROVIDER = "LLM_PROVIDER"
24
25
  INVALID_TEMPLATE = "INVALID_TEMPLATE"
26
+ USER_DEFINED_ERROR = "USER_DEFINED_ERROR"
25
27
 
26
28
  def visit(
27
29
  self,
@@ -31,6 +33,7 @@ class WorkflowExecutionEventErrorCode(str, enum.Enum):
31
33
  node_execution: typing.Callable[[], T_Result],
32
34
  llm_provider: typing.Callable[[], T_Result],
33
35
  invalid_template: typing.Callable[[], T_Result],
36
+ user_defined_error: typing.Callable[[], T_Result],
34
37
  ) -> T_Result:
35
38
  if self is WorkflowExecutionEventErrorCode.WORKFLOW_INITIALIZATION:
36
39
  return workflow_initialization()
@@ -44,3 +47,5 @@ class WorkflowExecutionEventErrorCode(str, enum.Enum):
44
47
  return llm_provider()
45
48
  if self is WorkflowExecutionEventErrorCode.INVALID_TEMPLATE:
46
49
  return invalid_template()
50
+ if self is WorkflowExecutionEventErrorCode.USER_DEFINED_ERROR:
51
+ return user_defined_error()
@@ -11,6 +11,7 @@ from .code_execution_node_result import CodeExecutionNodeResult
11
11
  from .conditional_node_result import ConditionalNodeResult
12
12
  from .prompt_node_result import PromptNodeResult
13
13
  from .search_node_result import SearchNodeResult
14
+ from .subworkflow_node_result import SubworkflowNodeResult
14
15
  from .templating_node_result import TemplatingNodeResult
15
16
  from .terminal_node_result import TerminalNodeResult
16
17
 
@@ -78,6 +79,15 @@ class WorkflowNodeResultData_Terminal(TerminalNodeResult):
78
79
  allow_population_by_field_name = True
79
80
 
80
81
 
82
+ class WorkflowNodeResultData_Subworkflow(SubworkflowNodeResult):
83
+ type: typing_extensions.Literal["SUBWORKFLOW"]
84
+
85
+ class Config:
86
+ frozen = True
87
+ smart_union = True
88
+ allow_population_by_field_name = True
89
+
90
+
81
91
  WorkflowNodeResultData = typing.Union[
82
92
  WorkflowNodeResultData_Prompt,
83
93
  WorkflowNodeResultData_Search,
@@ -86,4 +96,5 @@ WorkflowNodeResultData = typing.Union[
86
96
  WorkflowNodeResultData_Conditional,
87
97
  WorkflowNodeResultData_Api,
88
98
  WorkflowNodeResultData_Terminal,
99
+ WorkflowNodeResultData_Subworkflow,
89
100
  ]
@@ -6,6 +6,7 @@ import typing
6
6
 
7
7
  import typing_extensions
8
8
 
9
+ from .workflow_output_array import WorkflowOutputArray
9
10
  from .workflow_output_chat_history import WorkflowOutputChatHistory
10
11
  from .workflow_output_error import WorkflowOutputError
11
12
  from .workflow_output_function_call import WorkflowOutputFunctionCall
@@ -61,6 +62,15 @@ class WorkflowOutput_SearchResults(WorkflowOutputSearchResults):
61
62
  allow_population_by_field_name = True
62
63
 
63
64
 
65
+ class WorkflowOutput_Array(WorkflowOutputArray):
66
+ type: typing_extensions.Literal["ARRAY"]
67
+
68
+ class Config:
69
+ frozen = True
70
+ smart_union = True
71
+ allow_population_by_field_name = True
72
+
73
+
64
74
  class WorkflowOutput_Error(WorkflowOutputError):
65
75
  type: typing_extensions.Literal["ERROR"]
66
76
 
@@ -94,6 +104,7 @@ WorkflowOutput = typing.Union[
94
104
  WorkflowOutput_Json,
95
105
  WorkflowOutput_ChatHistory,
96
106
  WorkflowOutput_SearchResults,
107
+ WorkflowOutput_Array,
97
108
  WorkflowOutput_Error,
98
109
  WorkflowOutput_FunctionCall,
99
110
  WorkflowOutput_Image,
@@ -0,0 +1,35 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import datetime as dt
4
+ import typing
5
+
6
+ from ..core.datetime_utils import serialize_datetime
7
+ from .array_variable_value_item import ArrayVariableValueItem
8
+
9
+ try:
10
+ import pydantic.v1 as pydantic # type: ignore
11
+ except ImportError:
12
+ import pydantic # type: ignore
13
+
14
+
15
+ class WorkflowOutputArray(pydantic.BaseModel):
16
+ """
17
+ An array output from a Workflow execution.
18
+ """
19
+
20
+ id: str
21
+ name: str = pydantic.Field(description="The output's name, as defined in the workflow")
22
+ value: typing.List[ArrayVariableValueItem]
23
+
24
+ def json(self, **kwargs: typing.Any) -> str:
25
+ kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
26
+ return super().json(**kwargs_with_defaults)
27
+
28
+ def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
29
+ kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
30
+ return super().dict(**kwargs_with_defaults)
31
+
32
+ class Config:
33
+ frozen = True
34
+ smart_union = True
35
+ json_encoders = {dt.datetime: serialize_datetime}