vellum-ai 0.14.46__py3-none-any.whl → 0.14.48__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.
Files changed (152) hide show
  1. vellum/client/README.md +2 -2
  2. vellum/client/__init__.py +72 -6
  3. vellum/client/core/client_wrapper.py +1 -1
  4. vellum/client/core/file.py +13 -8
  5. vellum/client/core/http_client.py +26 -14
  6. vellum/client/core/pydantic_utilities.py +2 -2
  7. vellum/client/core/request_options.py +3 -0
  8. vellum/client/resources/ad_hoc/client.py +14 -2
  9. vellum/client/resources/container_images/client.py +6 -0
  10. vellum/client/resources/deployments/client.py +12 -0
  11. vellum/client/resources/document_indexes/client.py +18 -0
  12. vellum/client/resources/documents/client.py +6 -0
  13. vellum/client/resources/folder_entities/client.py +6 -0
  14. vellum/client/resources/metric_definitions/client.py +6 -0
  15. vellum/client/resources/prompts/client.py +6 -0
  16. vellum/client/resources/sandboxes/client.py +12 -0
  17. vellum/client/resources/test_suite_runs/client.py +6 -0
  18. vellum/client/resources/test_suites/client.py +2 -2
  19. vellum/client/resources/workflow_deployments/client.py +6 -0
  20. vellum/client/resources/workflow_sandboxes/client.py +6 -0
  21. vellum/client/resources/workflows/client.py +6 -4
  22. vellum/client/resources/workspace_secrets/client.py +6 -0
  23. vellum/client/types/api_request_parent_context.py +0 -6
  24. vellum/client/types/array_input.py +0 -5
  25. vellum/client/types/code_execution_node_array_result.py +0 -5
  26. vellum/client/types/code_execution_node_result.py +0 -5
  27. vellum/client/types/code_execution_node_result_data.py +0 -5
  28. vellum/client/types/code_executor_response.py +0 -5
  29. vellum/client/types/create_test_suite_test_case_request.py +0 -5
  30. vellum/client/types/deployment_history_item.py +0 -5
  31. vellum/client/types/deployment_read.py +0 -5
  32. vellum/client/types/execute_workflow_response.py +0 -5
  33. vellum/client/types/execution_array_vellum_value.py +0 -5
  34. vellum/client/types/external_test_case_execution.py +0 -5
  35. vellum/client/types/external_test_case_execution_request.py +0 -5
  36. vellum/client/types/fulfilled_execute_workflow_workflow_result_event.py +0 -7
  37. vellum/client/types/fulfilled_workflow_node_result_event.py +0 -5
  38. vellum/client/types/initiated_workflow_node_result_event.py +0 -5
  39. vellum/client/types/metadata_filter_config_request.py +0 -5
  40. vellum/client/types/metric_definition_execution.py +0 -5
  41. vellum/client/types/metric_definition_history_item.py +0 -5
  42. vellum/client/types/named_test_case_array_variable_value.py +0 -5
  43. vellum/client/types/named_test_case_array_variable_value_request.py +0 -7
  44. vellum/client/types/node_execution_fulfilled_event.py +0 -11
  45. vellum/client/types/node_execution_initiated_event.py +0 -11
  46. vellum/client/types/node_execution_paused_event.py +0 -11
  47. vellum/client/types/node_execution_rejected_event.py +0 -11
  48. vellum/client/types/node_execution_resumed_event.py +0 -11
  49. vellum/client/types/node_execution_span.py +0 -11
  50. vellum/client/types/node_execution_streaming_event.py +0 -11
  51. vellum/client/types/node_input_compiled_array_value.py +0 -5
  52. vellum/client/types/node_output_compiled_array_value.py +0 -5
  53. vellum/client/types/node_parent_context.py +0 -6
  54. vellum/client/types/paginated_slim_deployment_read_list.py +0 -5
  55. vellum/client/types/paginated_slim_workflow_deployment_list.py +0 -5
  56. vellum/client/types/paginated_test_suite_run_execution_list.py +0 -5
  57. vellum/client/types/paginated_test_suite_test_case_list.py +0 -5
  58. vellum/client/types/prompt_deployment_parent_context.py +0 -6
  59. vellum/client/types/prompt_exec_config.py +0 -6
  60. vellum/client/types/rejected_workflow_node_result_event.py +0 -5
  61. vellum/client/types/replace_test_suite_test_case_request.py +0 -5
  62. vellum/client/types/search_filters_request.py +0 -7
  63. vellum/client/types/search_request_options_request.py +0 -7
  64. vellum/client/types/slim_deployment_read.py +0 -5
  65. vellum/client/types/slim_workflow_deployment.py +0 -5
  66. vellum/client/types/slim_workflow_execution_read.py +0 -12
  67. vellum/client/types/span_link.py +0 -6
  68. vellum/client/types/streaming_workflow_node_result_event.py +0 -5
  69. vellum/client/types/templating_node_array_result.py +0 -5
  70. vellum/client/types/templating_node_result.py +0 -5
  71. vellum/client/types/templating_node_result_data.py +0 -5
  72. vellum/client/types/terminal_node_array_result.py +0 -5
  73. vellum/client/types/terminal_node_result.py +0 -5
  74. vellum/client/types/terminal_node_result_data.py +0 -5
  75. vellum/client/types/test_case_array_variable_value.py +0 -5
  76. vellum/client/types/test_suite_run_execution.py +0 -5
  77. vellum/client/types/test_suite_run_execution_array_output.py +0 -5
  78. vellum/client/types/test_suite_run_execution_metric_result.py +0 -5
  79. vellum/client/types/test_suite_run_external_exec_config.py +0 -5
  80. vellum/client/types/test_suite_run_external_exec_config_data.py +0 -5
  81. vellum/client/types/test_suite_run_external_exec_config_data_request.py +0 -7
  82. vellum/client/types/test_suite_run_external_exec_config_request.py +0 -7
  83. vellum/client/types/test_suite_run_metric_array_output.py +0 -5
  84. vellum/client/types/test_suite_run_read.py +0 -5
  85. vellum/client/types/test_suite_test_case.py +0 -5
  86. vellum/client/types/test_suite_test_case_create_bulk_operation_request.py +0 -7
  87. vellum/client/types/test_suite_test_case_replace_bulk_operation_request.py +0 -7
  88. vellum/client/types/test_suite_test_case_upsert_bulk_operation_request.py +0 -7
  89. vellum/client/types/upsert_test_suite_test_case_request.py +0 -5
  90. vellum/client/types/vellum_value_logical_condition_group_request.py +0 -3
  91. vellum/client/types/vellum_value_logical_condition_request.py +0 -5
  92. vellum/client/types/vellum_variable.py +0 -5
  93. vellum/client/types/workflow_deployment_event_executions_response.py +0 -26
  94. vellum/client/types/workflow_deployment_history_item.py +0 -5
  95. vellum/client/types/workflow_deployment_parent_context.py +0 -6
  96. vellum/client/types/workflow_deployment_read.py +0 -5
  97. vellum/client/types/workflow_deployment_release.py +0 -5
  98. vellum/client/types/workflow_deployment_release_workflow_version.py +0 -5
  99. vellum/client/types/workflow_event_execution_read.py +0 -12
  100. vellum/client/types/workflow_execution_actual.py +0 -5
  101. vellum/client/types/workflow_execution_fulfilled_event.py +0 -11
  102. vellum/client/types/workflow_execution_initiated_event.py +0 -11
  103. vellum/client/types/workflow_execution_node_result_event.py +0 -5
  104. vellum/client/types/workflow_execution_paused_event.py +0 -11
  105. vellum/client/types/workflow_execution_rejected_event.py +0 -11
  106. vellum/client/types/workflow_execution_resumed_event.py +0 -11
  107. vellum/client/types/workflow_execution_snapshotted_event.py +0 -13
  108. vellum/client/types/workflow_execution_span.py +0 -11
  109. vellum/client/types/workflow_execution_streaming_event.py +0 -11
  110. vellum/client/types/workflow_execution_view_online_eval_metric_result.py +0 -7
  111. vellum/client/types/workflow_execution_workflow_result_event.py +0 -5
  112. vellum/client/types/workflow_output_array.py +0 -5
  113. vellum/client/types/workflow_parent_context.py +0 -6
  114. vellum/client/types/workflow_result_event.py +0 -5
  115. vellum/client/types/workflow_result_event_output_data_array.py +0 -5
  116. vellum/client/types/workflow_sandbox_parent_context.py +0 -6
  117. vellum/workflows/nodes/bases/base.py +26 -6
  118. vellum/workflows/nodes/bases/tests/test_base_node.py +30 -0
  119. vellum/workflows/nodes/displayable/code_execution_node/tests/test_code_execution_node.py +50 -0
  120. vellum/workflows/nodes/utils.py +5 -1
  121. vellum/workflows/types/code_execution_node_wrappers.py +5 -0
  122. {vellum_ai-0.14.46.dist-info → vellum_ai-0.14.48.dist-info}/METADATA +1 -1
  123. {vellum_ai-0.14.46.dist-info → vellum_ai-0.14.48.dist-info}/RECORD +152 -152
  124. vellum_cli/__init__.py +3 -2
  125. vellum_cli/image_push.py +15 -3
  126. vellum_cli/tests/test_image_push.py +109 -0
  127. vellum_ee/workflows/display/nodes/base_node_display.py +25 -9
  128. vellum_ee/workflows/display/nodes/get_node_display_class.py +4 -5
  129. vellum_ee/workflows/display/nodes/vellum/api_node.py +11 -0
  130. vellum_ee/workflows/display/nodes/vellum/code_execution_node.py +5 -0
  131. vellum_ee/workflows/display/nodes/vellum/error_node.py +22 -16
  132. vellum_ee/workflows/display/nodes/vellum/guardrail_node.py +2 -0
  133. vellum_ee/workflows/display/nodes/vellum/inline_prompt_node.py +47 -13
  134. vellum_ee/workflows/display/nodes/vellum/inline_subworkflow_node.py +2 -0
  135. vellum_ee/workflows/display/nodes/vellum/map_node.py +2 -0
  136. vellum_ee/workflows/display/nodes/vellum/prompt_deployment_node.py +2 -0
  137. vellum_ee/workflows/display/nodes/vellum/search_node.py +8 -0
  138. vellum_ee/workflows/display/nodes/vellum/subworkflow_deployment_node.py +1 -0
  139. vellum_ee/workflows/display/nodes/vellum/templating_node.py +2 -0
  140. vellum_ee/workflows/display/nodes/vellum/tests/test_code_execution_node.py +1 -1
  141. vellum_ee/workflows/display/nodes/vellum/tests/test_error_node.py +4 -0
  142. vellum_ee/workflows/display/nodes/vellum/tests/test_prompt_deployment_node.py +4 -3
  143. vellum_ee/workflows/display/nodes/vellum/tests/test_prompt_node.py +67 -2
  144. vellum_ee/workflows/display/nodes/vellum/tests/test_subworkflow_deployment_node.py +5 -4
  145. vellum_ee/workflows/display/nodes/vellum/tests/test_templating_node.py +1 -1
  146. vellum_ee/workflows/display/tests/test_base_workflow_display.py +44 -0
  147. vellum_ee/workflows/display/tests/workflow_serialization/test_basic_error_node_serialization.py +2 -4
  148. vellum_ee/workflows/display/utils/expressions.py +31 -4
  149. vellum_ee/workflows/display/workflows/tests/test_workflow_display.py +162 -0
  150. {vellum_ai-0.14.46.dist-info → vellum_ai-0.14.48.dist-info}/LICENSE +0 -0
  151. {vellum_ai-0.14.46.dist-info → vellum_ai-0.14.48.dist-info}/WHEEL +0 -0
  152. {vellum_ai-0.14.46.dist-info → vellum_ai-0.14.48.dist-info}/entry_points.txt +0 -0
@@ -1,6 +1,5 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
- from __future__ import annotations
4
3
  from ..core.pydantic_utilities import UniversalBaseModel
5
4
  from .api_request_parent_context import ApiRequestParentContext
6
5
  from .node_parent_context import NodeParentContext
@@ -16,7 +15,6 @@ import datetime as dt
16
15
  from .api_version_enum import ApiVersionEnum
17
16
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
18
17
  import pydantic
19
- from ..core.pydantic_utilities import update_forward_refs
20
18
 
21
19
 
22
20
  class NodeExecutionFulfilledEvent(UniversalBaseModel):
@@ -38,12 +36,3 @@ class NodeExecutionFulfilledEvent(UniversalBaseModel):
38
36
  frozen = True
39
37
  smart_union = True
40
38
  extra = pydantic.Extra.allow
41
-
42
-
43
- update_forward_refs(ApiRequestParentContext, NodeExecutionFulfilledEvent=NodeExecutionFulfilledEvent)
44
- update_forward_refs(NodeParentContext, NodeExecutionFulfilledEvent=NodeExecutionFulfilledEvent)
45
- update_forward_refs(PromptDeploymentParentContext, NodeExecutionFulfilledEvent=NodeExecutionFulfilledEvent)
46
- update_forward_refs(SpanLink, NodeExecutionFulfilledEvent=NodeExecutionFulfilledEvent)
47
- update_forward_refs(WorkflowDeploymentParentContext, NodeExecutionFulfilledEvent=NodeExecutionFulfilledEvent)
48
- update_forward_refs(WorkflowParentContext, NodeExecutionFulfilledEvent=NodeExecutionFulfilledEvent)
49
- update_forward_refs(WorkflowSandboxParentContext, NodeExecutionFulfilledEvent=NodeExecutionFulfilledEvent)
@@ -1,6 +1,5 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
- from __future__ import annotations
4
3
  from ..core.pydantic_utilities import UniversalBaseModel
5
4
  from .api_request_parent_context import ApiRequestParentContext
6
5
  from .node_parent_context import NodeParentContext
@@ -16,7 +15,6 @@ import datetime as dt
16
15
  from .api_version_enum import ApiVersionEnum
17
16
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
18
17
  import pydantic
19
- from ..core.pydantic_utilities import update_forward_refs
20
18
 
21
19
 
22
20
  class NodeExecutionInitiatedEvent(UniversalBaseModel):
@@ -38,12 +36,3 @@ class NodeExecutionInitiatedEvent(UniversalBaseModel):
38
36
  frozen = True
39
37
  smart_union = True
40
38
  extra = pydantic.Extra.allow
41
-
42
-
43
- update_forward_refs(ApiRequestParentContext, NodeExecutionInitiatedEvent=NodeExecutionInitiatedEvent)
44
- update_forward_refs(NodeParentContext, NodeExecutionInitiatedEvent=NodeExecutionInitiatedEvent)
45
- update_forward_refs(PromptDeploymentParentContext, NodeExecutionInitiatedEvent=NodeExecutionInitiatedEvent)
46
- update_forward_refs(SpanLink, NodeExecutionInitiatedEvent=NodeExecutionInitiatedEvent)
47
- update_forward_refs(WorkflowDeploymentParentContext, NodeExecutionInitiatedEvent=NodeExecutionInitiatedEvent)
48
- update_forward_refs(WorkflowParentContext, NodeExecutionInitiatedEvent=NodeExecutionInitiatedEvent)
49
- update_forward_refs(WorkflowSandboxParentContext, NodeExecutionInitiatedEvent=NodeExecutionInitiatedEvent)
@@ -1,6 +1,5 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
- from __future__ import annotations
4
3
  from ..core.pydantic_utilities import UniversalBaseModel
5
4
  from .api_request_parent_context import ApiRequestParentContext
6
5
  from .node_parent_context import NodeParentContext
@@ -16,7 +15,6 @@ import datetime as dt
16
15
  from .api_version_enum import ApiVersionEnum
17
16
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
18
17
  import pydantic
19
- from ..core.pydantic_utilities import update_forward_refs
20
18
 
21
19
 
22
20
  class NodeExecutionPausedEvent(UniversalBaseModel):
@@ -38,12 +36,3 @@ class NodeExecutionPausedEvent(UniversalBaseModel):
38
36
  frozen = True
39
37
  smart_union = True
40
38
  extra = pydantic.Extra.allow
41
-
42
-
43
- update_forward_refs(ApiRequestParentContext, NodeExecutionPausedEvent=NodeExecutionPausedEvent)
44
- update_forward_refs(NodeParentContext, NodeExecutionPausedEvent=NodeExecutionPausedEvent)
45
- update_forward_refs(PromptDeploymentParentContext, NodeExecutionPausedEvent=NodeExecutionPausedEvent)
46
- update_forward_refs(SpanLink, NodeExecutionPausedEvent=NodeExecutionPausedEvent)
47
- update_forward_refs(WorkflowDeploymentParentContext, NodeExecutionPausedEvent=NodeExecutionPausedEvent)
48
- update_forward_refs(WorkflowParentContext, NodeExecutionPausedEvent=NodeExecutionPausedEvent)
49
- update_forward_refs(WorkflowSandboxParentContext, NodeExecutionPausedEvent=NodeExecutionPausedEvent)
@@ -1,6 +1,5 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
- from __future__ import annotations
4
3
  from ..core.pydantic_utilities import UniversalBaseModel
5
4
  from .api_request_parent_context import ApiRequestParentContext
6
5
  from .node_parent_context import NodeParentContext
@@ -16,7 +15,6 @@ import datetime as dt
16
15
  from .api_version_enum import ApiVersionEnum
17
16
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
18
17
  import pydantic
19
- from ..core.pydantic_utilities import update_forward_refs
20
18
 
21
19
 
22
20
  class NodeExecutionRejectedEvent(UniversalBaseModel):
@@ -38,12 +36,3 @@ class NodeExecutionRejectedEvent(UniversalBaseModel):
38
36
  frozen = True
39
37
  smart_union = True
40
38
  extra = pydantic.Extra.allow
41
-
42
-
43
- update_forward_refs(ApiRequestParentContext, NodeExecutionRejectedEvent=NodeExecutionRejectedEvent)
44
- update_forward_refs(NodeParentContext, NodeExecutionRejectedEvent=NodeExecutionRejectedEvent)
45
- update_forward_refs(PromptDeploymentParentContext, NodeExecutionRejectedEvent=NodeExecutionRejectedEvent)
46
- update_forward_refs(SpanLink, NodeExecutionRejectedEvent=NodeExecutionRejectedEvent)
47
- update_forward_refs(WorkflowDeploymentParentContext, NodeExecutionRejectedEvent=NodeExecutionRejectedEvent)
48
- update_forward_refs(WorkflowParentContext, NodeExecutionRejectedEvent=NodeExecutionRejectedEvent)
49
- update_forward_refs(WorkflowSandboxParentContext, NodeExecutionRejectedEvent=NodeExecutionRejectedEvent)
@@ -1,6 +1,5 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
- from __future__ import annotations
4
3
  from ..core.pydantic_utilities import UniversalBaseModel
5
4
  from .api_request_parent_context import ApiRequestParentContext
6
5
  from .node_parent_context import NodeParentContext
@@ -16,7 +15,6 @@ import datetime as dt
16
15
  from .api_version_enum import ApiVersionEnum
17
16
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
18
17
  import pydantic
19
- from ..core.pydantic_utilities import update_forward_refs
20
18
 
21
19
 
22
20
  class NodeExecutionResumedEvent(UniversalBaseModel):
@@ -38,12 +36,3 @@ class NodeExecutionResumedEvent(UniversalBaseModel):
38
36
  frozen = True
39
37
  smart_union = True
40
38
  extra = pydantic.Extra.allow
41
-
42
-
43
- update_forward_refs(ApiRequestParentContext, NodeExecutionResumedEvent=NodeExecutionResumedEvent)
44
- update_forward_refs(NodeParentContext, NodeExecutionResumedEvent=NodeExecutionResumedEvent)
45
- update_forward_refs(PromptDeploymentParentContext, NodeExecutionResumedEvent=NodeExecutionResumedEvent)
46
- update_forward_refs(SpanLink, NodeExecutionResumedEvent=NodeExecutionResumedEvent)
47
- update_forward_refs(WorkflowDeploymentParentContext, NodeExecutionResumedEvent=NodeExecutionResumedEvent)
48
- update_forward_refs(WorkflowParentContext, NodeExecutionResumedEvent=NodeExecutionResumedEvent)
49
- update_forward_refs(WorkflowSandboxParentContext, NodeExecutionResumedEvent=NodeExecutionResumedEvent)
@@ -1,6 +1,5 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
- from __future__ import annotations
4
3
  from ..core.pydantic_utilities import UniversalBaseModel
5
4
  from .api_request_parent_context import ApiRequestParentContext
6
5
  from .node_parent_context import NodeParentContext
@@ -15,7 +14,6 @@ from .node_execution_span_attributes import NodeExecutionSpanAttributes
15
14
  import datetime as dt
16
15
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
17
16
  import pydantic
18
- from ..core.pydantic_utilities import update_forward_refs
19
17
 
20
18
 
21
19
  class NodeExecutionSpan(UniversalBaseModel):
@@ -35,12 +33,3 @@ class NodeExecutionSpan(UniversalBaseModel):
35
33
  frozen = True
36
34
  smart_union = True
37
35
  extra = pydantic.Extra.allow
38
-
39
-
40
- update_forward_refs(ApiRequestParentContext, NodeExecutionSpan=NodeExecutionSpan)
41
- update_forward_refs(NodeParentContext, NodeExecutionSpan=NodeExecutionSpan)
42
- update_forward_refs(PromptDeploymentParentContext, NodeExecutionSpan=NodeExecutionSpan)
43
- update_forward_refs(SpanLink, NodeExecutionSpan=NodeExecutionSpan)
44
- update_forward_refs(WorkflowDeploymentParentContext, NodeExecutionSpan=NodeExecutionSpan)
45
- update_forward_refs(WorkflowParentContext, NodeExecutionSpan=NodeExecutionSpan)
46
- update_forward_refs(WorkflowSandboxParentContext, NodeExecutionSpan=NodeExecutionSpan)
@@ -1,6 +1,5 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
- from __future__ import annotations
4
3
  from ..core.pydantic_utilities import UniversalBaseModel
5
4
  from .api_request_parent_context import ApiRequestParentContext
6
5
  from .node_parent_context import NodeParentContext
@@ -16,7 +15,6 @@ import datetime as dt
16
15
  from .api_version_enum import ApiVersionEnum
17
16
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
18
17
  import pydantic
19
- from ..core.pydantic_utilities import update_forward_refs
20
18
 
21
19
 
22
20
  class NodeExecutionStreamingEvent(UniversalBaseModel):
@@ -38,12 +36,3 @@ class NodeExecutionStreamingEvent(UniversalBaseModel):
38
36
  frozen = True
39
37
  smart_union = True
40
38
  extra = pydantic.Extra.allow
41
-
42
-
43
- update_forward_refs(ApiRequestParentContext, NodeExecutionStreamingEvent=NodeExecutionStreamingEvent)
44
- update_forward_refs(NodeParentContext, NodeExecutionStreamingEvent=NodeExecutionStreamingEvent)
45
- update_forward_refs(PromptDeploymentParentContext, NodeExecutionStreamingEvent=NodeExecutionStreamingEvent)
46
- update_forward_refs(SpanLink, NodeExecutionStreamingEvent=NodeExecutionStreamingEvent)
47
- update_forward_refs(WorkflowDeploymentParentContext, NodeExecutionStreamingEvent=NodeExecutionStreamingEvent)
48
- update_forward_refs(WorkflowParentContext, NodeExecutionStreamingEvent=NodeExecutionStreamingEvent)
49
- update_forward_refs(WorkflowSandboxParentContext, NodeExecutionStreamingEvent=NodeExecutionStreamingEvent)
@@ -1,13 +1,11 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
- from __future__ import annotations
4
3
  from ..core.pydantic_utilities import UniversalBaseModel
5
4
  from .array_vellum_value import ArrayVellumValue
6
5
  import typing
7
6
  from .vellum_value import VellumValue
8
7
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
9
8
  import pydantic
10
- from ..core.pydantic_utilities import update_forward_refs
11
9
 
12
10
 
13
11
  class NodeInputCompiledArrayValue(UniversalBaseModel):
@@ -24,6 +22,3 @@ class NodeInputCompiledArrayValue(UniversalBaseModel):
24
22
  frozen = True
25
23
  smart_union = True
26
24
  extra = pydantic.Extra.allow
27
-
28
-
29
- update_forward_refs(ArrayVellumValue, NodeInputCompiledArrayValue=NodeInputCompiledArrayValue)
@@ -1,6 +1,5 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
- from __future__ import annotations
4
3
  from ..core.pydantic_utilities import UniversalBaseModel
5
4
  from .array_vellum_value import ArrayVellumValue
6
5
  import typing
@@ -8,7 +7,6 @@ from .vellum_value import VellumValue
8
7
  from .workflow_node_result_event_state import WorkflowNodeResultEventState
9
8
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
10
9
  import pydantic
11
- from ..core.pydantic_utilities import update_forward_refs
12
10
 
13
11
 
14
12
  class NodeOutputCompiledArrayValue(UniversalBaseModel):
@@ -29,6 +27,3 @@ class NodeOutputCompiledArrayValue(UniversalBaseModel):
29
27
  frozen = True
30
28
  smart_union = True
31
29
  extra = pydantic.Extra.allow
32
-
33
-
34
- update_forward_refs(ArrayVellumValue, NodeOutputCompiledArrayValue=NodeOutputCompiledArrayValue)
@@ -34,10 +34,4 @@ from .workflow_parent_context import WorkflowParentContext # noqa: E402
34
34
  from .workflow_sandbox_parent_context import WorkflowSandboxParentContext # noqa: E402
35
35
  from .parent_context import ParentContext # noqa: E402
36
36
 
37
- update_forward_refs(ApiRequestParentContext, NodeParentContext=NodeParentContext)
38
- update_forward_refs(PromptDeploymentParentContext, NodeParentContext=NodeParentContext)
39
- update_forward_refs(SpanLink, NodeParentContext=NodeParentContext)
40
- update_forward_refs(WorkflowDeploymentParentContext, NodeParentContext=NodeParentContext)
41
- update_forward_refs(WorkflowParentContext, NodeParentContext=NodeParentContext)
42
- update_forward_refs(WorkflowSandboxParentContext, NodeParentContext=NodeParentContext)
43
37
  update_forward_refs(NodeParentContext)
@@ -1,13 +1,11 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
- from __future__ import annotations
4
3
  from ..core.pydantic_utilities import UniversalBaseModel
5
4
  from .array_vellum_value import ArrayVellumValue
6
5
  import typing
7
6
  from .slim_deployment_read import SlimDeploymentRead
8
7
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
9
8
  import pydantic
10
- from ..core.pydantic_utilities import update_forward_refs
11
9
 
12
10
 
13
11
  class PaginatedSlimDeploymentReadList(UniversalBaseModel):
@@ -24,6 +22,3 @@ class PaginatedSlimDeploymentReadList(UniversalBaseModel):
24
22
  frozen = True
25
23
  smart_union = True
26
24
  extra = pydantic.Extra.allow
27
-
28
-
29
- update_forward_refs(ArrayVellumValue, PaginatedSlimDeploymentReadList=PaginatedSlimDeploymentReadList)
@@ -1,13 +1,11 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
- from __future__ import annotations
4
3
  from ..core.pydantic_utilities import UniversalBaseModel
5
4
  from .array_vellum_value import ArrayVellumValue
6
5
  import typing
7
6
  from .slim_workflow_deployment import SlimWorkflowDeployment
8
7
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
9
8
  import pydantic
10
- from ..core.pydantic_utilities import update_forward_refs
11
9
 
12
10
 
13
11
  class PaginatedSlimWorkflowDeploymentList(UniversalBaseModel):
@@ -24,6 +22,3 @@ class PaginatedSlimWorkflowDeploymentList(UniversalBaseModel):
24
22
  frozen = True
25
23
  smart_union = True
26
24
  extra = pydantic.Extra.allow
27
-
28
-
29
- update_forward_refs(ArrayVellumValue, PaginatedSlimWorkflowDeploymentList=PaginatedSlimWorkflowDeploymentList)
@@ -1,13 +1,11 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
- from __future__ import annotations
4
3
  from ..core.pydantic_utilities import UniversalBaseModel
5
4
  from .array_vellum_value import ArrayVellumValue
6
5
  import typing
7
6
  from .test_suite_run_execution import TestSuiteRunExecution
8
7
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
9
8
  import pydantic
10
- from ..core.pydantic_utilities import update_forward_refs
11
9
 
12
10
 
13
11
  class PaginatedTestSuiteRunExecutionList(UniversalBaseModel):
@@ -24,6 +22,3 @@ class PaginatedTestSuiteRunExecutionList(UniversalBaseModel):
24
22
  frozen = True
25
23
  smart_union = True
26
24
  extra = pydantic.Extra.allow
27
-
28
-
29
- update_forward_refs(ArrayVellumValue, PaginatedTestSuiteRunExecutionList=PaginatedTestSuiteRunExecutionList)
@@ -1,13 +1,11 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
- from __future__ import annotations
4
3
  from ..core.pydantic_utilities import UniversalBaseModel
5
4
  from .array_vellum_value import ArrayVellumValue
6
5
  import typing
7
6
  from .test_suite_test_case import TestSuiteTestCase
8
7
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
9
8
  import pydantic
10
- from ..core.pydantic_utilities import update_forward_refs
11
9
 
12
10
 
13
11
  class PaginatedTestSuiteTestCaseList(UniversalBaseModel):
@@ -24,6 +22,3 @@ class PaginatedTestSuiteTestCaseList(UniversalBaseModel):
24
22
  frozen = True
25
23
  smart_union = True
26
24
  extra = pydantic.Extra.allow
27
-
28
-
29
- update_forward_refs(ArrayVellumValue, PaginatedTestSuiteTestCaseList=PaginatedTestSuiteTestCaseList)
@@ -40,10 +40,4 @@ from .workflow_parent_context import WorkflowParentContext # noqa: E402
40
40
  from .workflow_sandbox_parent_context import WorkflowSandboxParentContext # noqa: E402
41
41
  from .parent_context import ParentContext # noqa: E402
42
42
 
43
- update_forward_refs(ApiRequestParentContext, PromptDeploymentParentContext=PromptDeploymentParentContext)
44
- update_forward_refs(NodeParentContext, PromptDeploymentParentContext=PromptDeploymentParentContext)
45
- update_forward_refs(SpanLink, PromptDeploymentParentContext=PromptDeploymentParentContext)
46
- update_forward_refs(WorkflowDeploymentParentContext, PromptDeploymentParentContext=PromptDeploymentParentContext)
47
- update_forward_refs(WorkflowParentContext, PromptDeploymentParentContext=PromptDeploymentParentContext)
48
- update_forward_refs(WorkflowSandboxParentContext, PromptDeploymentParentContext=PromptDeploymentParentContext)
49
43
  update_forward_refs(PromptDeploymentParentContext)
@@ -1,6 +1,5 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
- from __future__ import annotations
4
3
  from ..core.pydantic_utilities import UniversalBaseModel
5
4
  from .array_vellum_value import ArrayVellumValue
6
5
  from .chat_message_prompt_block import ChatMessagePromptBlock
@@ -12,7 +11,6 @@ from .prompt_block import PromptBlock
12
11
  from .function_definition import FunctionDefinition
13
12
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
14
13
  import pydantic
15
- from ..core.pydantic_utilities import update_forward_refs
16
14
 
17
15
 
18
16
  class PromptExecConfig(UniversalBaseModel):
@@ -31,7 +29,3 @@ class PromptExecConfig(UniversalBaseModel):
31
29
  frozen = True
32
30
  smart_union = True
33
31
  extra = pydantic.Extra.allow
34
-
35
-
36
- update_forward_refs(ArrayVellumValue, PromptExecConfig=PromptExecConfig)
37
- update_forward_refs(ChatMessagePromptBlock, PromptExecConfig=PromptExecConfig)
@@ -1,6 +1,5 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
- from __future__ import annotations
4
3
  from ..core.pydantic_utilities import UniversalBaseModel
5
4
  from .array_vellum_value import ArrayVellumValue
6
5
  import typing
@@ -9,7 +8,6 @@ from .workflow_node_result_data import WorkflowNodeResultData
9
8
  from .workflow_event_error import WorkflowEventError
10
9
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
11
10
  import pydantic
12
- from ..core.pydantic_utilities import update_forward_refs
13
11
 
14
12
 
15
13
  class RejectedWorkflowNodeResultEvent(UniversalBaseModel):
@@ -34,6 +32,3 @@ class RejectedWorkflowNodeResultEvent(UniversalBaseModel):
34
32
  frozen = True
35
33
  smart_union = True
36
34
  extra = pydantic.Extra.allow
37
-
38
-
39
- update_forward_refs(ArrayVellumValue, RejectedWorkflowNodeResultEvent=RejectedWorkflowNodeResultEvent)
@@ -1,13 +1,11 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
- from __future__ import annotations
4
3
  from ..core.pydantic_utilities import UniversalBaseModel
5
4
  from .array_vellum_value_request import ArrayVellumValueRequest
6
5
  import typing
7
6
  import pydantic
8
7
  from .named_test_case_variable_value_request import NamedTestCaseVariableValueRequest
9
8
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
10
- from ..core.pydantic_utilities import update_forward_refs
11
9
 
12
10
 
13
11
  class ReplaceTestSuiteTestCaseRequest(UniversalBaseModel):
@@ -48,6 +46,3 @@ class ReplaceTestSuiteTestCaseRequest(UniversalBaseModel):
48
46
  frozen = True
49
47
  smart_union = True
50
48
  extra = pydantic.Extra.allow
51
-
52
-
53
- update_forward_refs(ArrayVellumValueRequest, ReplaceTestSuiteTestCaseRequest=ReplaceTestSuiteTestCaseRequest)
@@ -1,6 +1,5 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
- from __future__ import annotations
4
3
  from ..core.pydantic_utilities import UniversalBaseModel
5
4
  from .array_vellum_value_request import ArrayVellumValueRequest
6
5
  from .metadata_filter_rule_request import MetadataFilterRuleRequest
@@ -9,7 +8,6 @@ import typing
9
8
  import pydantic
10
9
  from .metadata_filters_request import MetadataFiltersRequest
11
10
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
12
- from ..core.pydantic_utilities import update_forward_refs
13
11
 
14
12
 
15
13
  class SearchFiltersRequest(UniversalBaseModel):
@@ -31,8 +29,3 @@ class SearchFiltersRequest(UniversalBaseModel):
31
29
  frozen = True
32
30
  smart_union = True
33
31
  extra = pydantic.Extra.allow
34
-
35
-
36
- update_forward_refs(ArrayVellumValueRequest, SearchFiltersRequest=SearchFiltersRequest)
37
- update_forward_refs(MetadataFilterRuleRequest, SearchFiltersRequest=SearchFiltersRequest)
38
- update_forward_refs(VellumValueLogicalConditionGroupRequest, SearchFiltersRequest=SearchFiltersRequest)
@@ -1,6 +1,5 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
- from __future__ import annotations
4
3
  from ..core.pydantic_utilities import UniversalBaseModel
5
4
  from .array_vellum_value_request import ArrayVellumValueRequest
6
5
  from .metadata_filter_rule_request import MetadataFilterRuleRequest
@@ -11,7 +10,6 @@ from .search_weights_request import SearchWeightsRequest
11
10
  from .search_result_merging_request import SearchResultMergingRequest
12
11
  from .search_filters_request import SearchFiltersRequest
13
12
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
14
- from ..core.pydantic_utilities import update_forward_refs
15
13
 
16
14
 
17
15
  class SearchRequestOptionsRequest(UniversalBaseModel):
@@ -43,8 +41,3 @@ class SearchRequestOptionsRequest(UniversalBaseModel):
43
41
  frozen = True
44
42
  smart_union = True
45
43
  extra = pydantic.Extra.allow
46
-
47
-
48
- update_forward_refs(ArrayVellumValueRequest, SearchRequestOptionsRequest=SearchRequestOptionsRequest)
49
- update_forward_refs(MetadataFilterRuleRequest, SearchRequestOptionsRequest=SearchRequestOptionsRequest)
50
- update_forward_refs(VellumValueLogicalConditionGroupRequest, SearchRequestOptionsRequest=SearchRequestOptionsRequest)
@@ -1,6 +1,5 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
- from __future__ import annotations
4
3
  from ..core.pydantic_utilities import UniversalBaseModel
5
4
  from .array_vellum_value import ArrayVellumValue
6
5
  import datetime as dt
@@ -10,7 +9,6 @@ from .entity_status import EntityStatus
10
9
  from .environment_enum import EnvironmentEnum
11
10
  from .vellum_variable import VellumVariable
12
11
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
13
- from ..core.pydantic_utilities import update_forward_refs
14
12
 
15
13
 
16
14
  class SlimDeploymentRead(UniversalBaseModel):
@@ -58,6 +56,3 @@ class SlimDeploymentRead(UniversalBaseModel):
58
56
  frozen = True
59
57
  smart_union = True
60
58
  extra = pydantic.Extra.allow
61
-
62
-
63
- update_forward_refs(ArrayVellumValue, SlimDeploymentRead=SlimDeploymentRead)
@@ -1,6 +1,5 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
- from __future__ import annotations
4
3
  from ..core.pydantic_utilities import UniversalBaseModel
5
4
  from .array_vellum_value import ArrayVellumValue
6
5
  import pydantic
@@ -10,7 +9,6 @@ from .environment_enum import EnvironmentEnum
10
9
  import datetime as dt
11
10
  from .vellum_variable import VellumVariable
12
11
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
13
- from ..core.pydantic_utilities import update_forward_refs
14
12
 
15
13
 
16
14
  class SlimWorkflowDeployment(UniversalBaseModel):
@@ -67,6 +65,3 @@ class SlimWorkflowDeployment(UniversalBaseModel):
67
65
  frozen = True
68
66
  smart_union = True
69
67
  extra = pydantic.Extra.allow
70
-
71
-
72
- update_forward_refs(ArrayVellumValue, SlimWorkflowDeployment=SlimWorkflowDeployment)
@@ -1,6 +1,5 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
- from __future__ import annotations
4
3
  from ..core.pydantic_utilities import UniversalBaseModel
5
4
  from .api_request_parent_context import ApiRequestParentContext
6
5
  from .node_parent_context import NodeParentContext
@@ -19,7 +18,6 @@ from .workflow_execution_view_online_eval_metric_result import WorkflowExecution
19
18
  from .workflow_execution_usage_calculation_fulfilled_body import WorkflowExecutionUsageCalculationFulfilledBody
20
19
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
21
20
  import pydantic
22
- from ..core.pydantic_utilities import update_forward_refs
23
21
 
24
22
 
25
23
  class SlimWorkflowExecutionRead(UniversalBaseModel):
@@ -42,13 +40,3 @@ class SlimWorkflowExecutionRead(UniversalBaseModel):
42
40
  frozen = True
43
41
  smart_union = True
44
42
  extra = pydantic.Extra.allow
45
-
46
-
47
- update_forward_refs(ApiRequestParentContext, SlimWorkflowExecutionRead=SlimWorkflowExecutionRead)
48
- update_forward_refs(NodeParentContext, SlimWorkflowExecutionRead=SlimWorkflowExecutionRead)
49
- update_forward_refs(PromptDeploymentParentContext, SlimWorkflowExecutionRead=SlimWorkflowExecutionRead)
50
- update_forward_refs(SpanLink, SlimWorkflowExecutionRead=SlimWorkflowExecutionRead)
51
- update_forward_refs(WorkflowDeploymentParentContext, SlimWorkflowExecutionRead=SlimWorkflowExecutionRead)
52
- update_forward_refs(WorkflowParentContext, SlimWorkflowExecutionRead=SlimWorkflowExecutionRead)
53
- update_forward_refs(WorkflowSandboxParentContext, SlimWorkflowExecutionRead=SlimWorkflowExecutionRead)
54
- update_forward_refs(ArrayVellumValue, SlimWorkflowExecutionRead=SlimWorkflowExecutionRead)
@@ -32,10 +32,4 @@ from .workflow_parent_context import WorkflowParentContext # noqa: E402
32
32
  from .workflow_sandbox_parent_context import WorkflowSandboxParentContext # noqa: E402
33
33
  from .parent_context import ParentContext # noqa: E402
34
34
 
35
- update_forward_refs(ApiRequestParentContext, SpanLink=SpanLink)
36
- update_forward_refs(NodeParentContext, SpanLink=SpanLink)
37
- update_forward_refs(PromptDeploymentParentContext, SpanLink=SpanLink)
38
- update_forward_refs(WorkflowDeploymentParentContext, SpanLink=SpanLink)
39
- update_forward_refs(WorkflowParentContext, SpanLink=SpanLink)
40
- update_forward_refs(WorkflowSandboxParentContext, SpanLink=SpanLink)
41
35
  update_forward_refs(SpanLink)
@@ -1,6 +1,5 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
- from __future__ import annotations
4
3
  from ..core.pydantic_utilities import UniversalBaseModel
5
4
  from .array_vellum_value import ArrayVellumValue
6
5
  import typing
@@ -9,7 +8,6 @@ from .workflow_node_result_data import WorkflowNodeResultData
9
8
  from .node_output_compiled_value import NodeOutputCompiledValue
10
9
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
11
10
  import pydantic
12
- from ..core.pydantic_utilities import update_forward_refs
13
11
 
14
12
 
15
13
  class StreamingWorkflowNodeResultEvent(UniversalBaseModel):
@@ -35,6 +33,3 @@ class StreamingWorkflowNodeResultEvent(UniversalBaseModel):
35
33
  frozen = True
36
34
  smart_union = True
37
35
  extra = pydantic.Extra.allow
38
-
39
-
40
- update_forward_refs(ArrayVellumValue, StreamingWorkflowNodeResultEvent=StreamingWorkflowNodeResultEvent)
@@ -1,13 +1,11 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
- from __future__ import annotations
4
3
  from ..core.pydantic_utilities import UniversalBaseModel
5
4
  from .array_vellum_value import ArrayVellumValue
6
5
  import typing
7
6
  from .vellum_value import VellumValue
8
7
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
9
8
  import pydantic
10
- from ..core.pydantic_utilities import update_forward_refs
11
9
 
12
10
 
13
11
  class TemplatingNodeArrayResult(UniversalBaseModel):
@@ -23,6 +21,3 @@ class TemplatingNodeArrayResult(UniversalBaseModel):
23
21
  frozen = True
24
22
  smart_union = True
25
23
  extra = pydantic.Extra.allow
26
-
27
-
28
- update_forward_refs(ArrayVellumValue, TemplatingNodeArrayResult=TemplatingNodeArrayResult)
@@ -1,13 +1,11 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
- from __future__ import annotations
4
3
  from ..core.pydantic_utilities import UniversalBaseModel
5
4
  from .array_vellum_value import ArrayVellumValue
6
5
  import typing
7
6
  from .templating_node_result_data import TemplatingNodeResultData
8
7
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
9
8
  import pydantic
10
- from ..core.pydantic_utilities import update_forward_refs
11
9
 
12
10
 
13
11
  class TemplatingNodeResult(UniversalBaseModel):
@@ -26,6 +24,3 @@ class TemplatingNodeResult(UniversalBaseModel):
26
24
  frozen = True
27
25
  smart_union = True
28
26
  extra = pydantic.Extra.allow
29
-
30
-
31
- update_forward_refs(ArrayVellumValue, TemplatingNodeResult=TemplatingNodeResult)
@@ -1,13 +1,11 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
- from __future__ import annotations
4
3
  from ..core.pydantic_utilities import UniversalBaseModel
5
4
  from .array_vellum_value import ArrayVellumValue
6
5
  from .templating_node_result_output import TemplatingNodeResultOutput
7
6
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
8
7
  import typing
9
8
  import pydantic
10
- from ..core.pydantic_utilities import update_forward_refs
11
9
 
12
10
 
13
11
  class TemplatingNodeResultData(UniversalBaseModel):
@@ -21,6 +19,3 @@ class TemplatingNodeResultData(UniversalBaseModel):
21
19
  frozen = True
22
20
  smart_union = True
23
21
  extra = pydantic.Extra.allow
24
-
25
-
26
- update_forward_refs(ArrayVellumValue, TemplatingNodeResultData=TemplatingNodeResultData)
@@ -1,13 +1,11 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
- from __future__ import annotations
4
3
  from ..core.pydantic_utilities import UniversalBaseModel
5
4
  from .array_vellum_value import ArrayVellumValue
6
5
  import typing
7
6
  import pydantic
8
7
  from .vellum_value import VellumValue
9
8
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
10
- from ..core.pydantic_utilities import update_forward_refs
11
9
 
12
10
 
13
11
  class TerminalNodeArrayResult(UniversalBaseModel):
@@ -28,6 +26,3 @@ class TerminalNodeArrayResult(UniversalBaseModel):
28
26
  frozen = True
29
27
  smart_union = True
30
28
  extra = pydantic.Extra.allow
31
-
32
-
33
- update_forward_refs(ArrayVellumValue, TerminalNodeArrayResult=TerminalNodeArrayResult)