vellum-ai 0.8.14__py3-none-any.whl → 0.8.16__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- vellum/__init__.py +18 -0
- vellum/core/client_wrapper.py +3 -3
- vellum/core/http_client.py +22 -16
- vellum/core/pydantic_utilities.py +26 -3
- vellum/types/__init__.py +18 -0
- vellum/types/array_variable_value.py +27 -0
- vellum/types/array_variable_value_item.py +9 -0
- vellum/types/array_vellum_value.py +31 -0
- vellum/types/array_vellum_value_item.py +15 -1
- vellum/types/array_vellum_value_item_request.py +9 -0
- vellum/types/array_vellum_value_request.py +31 -0
- vellum/types/chat_history_variable_value.py +21 -0
- vellum/types/chat_history_vellum_value.py +25 -0
- vellum/types/chat_history_vellum_value_request.py +25 -0
- vellum/types/code_execution_node_array_result.py +6 -0
- vellum/types/code_execution_node_result.py +6 -0
- vellum/types/code_execution_node_result_data.py +6 -0
- vellum/types/create_test_suite_test_case_request.py +6 -0
- vellum/types/execute_workflow_response.py +6 -0
- vellum/types/execution_array_vellum_value.py +6 -0
- vellum/types/external_test_case_execution.py +6 -0
- vellum/types/external_test_case_execution_request.py +6 -0
- vellum/types/fulfilled_execute_workflow_workflow_result_event.py +8 -0
- vellum/types/fulfilled_workflow_node_result_event.py +8 -0
- vellum/types/initiated_workflow_node_result_event.py +6 -0
- vellum/types/named_test_case_array_variable_value.py +6 -0
- vellum/types/named_test_case_array_variable_value_request.py +8 -0
- vellum/types/node_input_compiled_array_value.py +6 -0
- vellum/types/node_output_compiled_array_value.py +6 -0
- vellum/types/paginated_test_suite_run_execution_list.py +6 -0
- vellum/types/paginated_test_suite_test_case_list.py +6 -0
- vellum/types/rejected_workflow_node_result_event.py +6 -0
- vellum/types/replace_test_suite_test_case_request.py +6 -0
- vellum/types/search_results_variable_value.py +21 -0
- vellum/types/search_results_vellum_value.py +25 -0
- vellum/types/search_results_vellum_value_request.py +25 -0
- vellum/types/streaming_workflow_node_result_event.py +8 -0
- vellum/types/templating_node_array_result.py +6 -0
- vellum/types/templating_node_result.py +6 -0
- vellum/types/templating_node_result_data.py +6 -0
- vellum/types/terminal_node_array_result.py +6 -0
- vellum/types/terminal_node_result.py +6 -0
- vellum/types/terminal_node_result_data.py +6 -0
- vellum/types/test_case_array_variable_value.py +6 -0
- vellum/types/test_suite_run_execution.py +6 -0
- vellum/types/test_suite_run_execution_array_output.py +6 -0
- vellum/types/test_suite_run_external_exec_config.py +6 -0
- vellum/types/test_suite_run_external_exec_config_data.py +6 -0
- vellum/types/test_suite_run_external_exec_config_data_request.py +8 -0
- vellum/types/test_suite_run_external_exec_config_request.py +8 -0
- vellum/types/test_suite_run_read.py +6 -0
- vellum/types/test_suite_test_case.py +6 -0
- vellum/types/test_suite_test_case_create_bulk_operation_request.py +8 -0
- vellum/types/test_suite_test_case_replace_bulk_operation_request.py +8 -0
- vellum/types/test_suite_test_case_upsert_bulk_operation_request.py +8 -0
- vellum/types/upsert_test_suite_test_case_request.py +6 -0
- vellum/types/workflow_execution_node_result_event.py +8 -0
- vellum/types/workflow_execution_workflow_result_event.py +8 -0
- vellum/types/workflow_output_array.py +6 -0
- vellum/types/workflow_result_event.py +8 -0
- vellum/types/workflow_result_event_output_data_array.py +6 -0
- {vellum_ai-0.8.14.dist-info → vellum_ai-0.8.16.dist-info}/METADATA +1 -1
- {vellum_ai-0.8.14.dist-info → vellum_ai-0.8.16.dist-info}/RECORD +65 -56
- {vellum_ai-0.8.14.dist-info → vellum_ai-0.8.16.dist-info}/LICENSE +0 -0
- {vellum_ai-0.8.14.dist-info → vellum_ai-0.8.16.dist-info}/WHEEL +0 -0
@@ -1,10 +1,13 @@
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
2
2
|
|
3
|
+
from __future__ import annotations
|
3
4
|
from ..core.pydantic_utilities import UniversalBaseModel
|
5
|
+
from .array_vellum_value import ArrayVellumValue
|
4
6
|
import typing
|
5
7
|
from .execute_workflow_workflow_result_event import ExecuteWorkflowWorkflowResultEvent
|
6
8
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
7
9
|
import pydantic
|
10
|
+
from ..core.pydantic_utilities import update_forward_refs
|
8
11
|
|
9
12
|
|
10
13
|
class ExecuteWorkflowResponse(UniversalBaseModel):
|
@@ -21,3 +24,6 @@ class ExecuteWorkflowResponse(UniversalBaseModel):
|
|
21
24
|
frozen = True
|
22
25
|
smart_union = True
|
23
26
|
extra = pydantic.Extra.allow
|
27
|
+
|
28
|
+
|
29
|
+
update_forward_refs(ArrayVellumValue, ExecuteWorkflowResponse=ExecuteWorkflowResponse)
|
@@ -1,10 +1,13 @@
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
2
2
|
|
3
|
+
from __future__ import annotations
|
3
4
|
from ..core.pydantic_utilities import UniversalBaseModel
|
5
|
+
from .array_vellum_value import ArrayVellumValue
|
4
6
|
import pydantic
|
5
7
|
import typing
|
6
8
|
from .array_vellum_value_item import ArrayVellumValueItem
|
7
9
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
10
|
+
from ..core.pydantic_utilities import update_forward_refs
|
8
11
|
|
9
12
|
|
10
13
|
class ExecutionArrayVellumValue(UniversalBaseModel):
|
@@ -29,3 +32,6 @@ class ExecutionArrayVellumValue(UniversalBaseModel):
|
|
29
32
|
frozen = True
|
30
33
|
smart_union = True
|
31
34
|
extra = pydantic.Extra.allow
|
35
|
+
|
36
|
+
|
37
|
+
update_forward_refs(ArrayVellumValue, ExecutionArrayVellumValue=ExecutionArrayVellumValue)
|
@@ -1,10 +1,13 @@
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
2
2
|
|
3
|
+
from __future__ import annotations
|
3
4
|
from ..core.pydantic_utilities import UniversalBaseModel
|
5
|
+
from .array_vellum_value import ArrayVellumValue
|
4
6
|
import typing
|
5
7
|
from .named_test_case_variable_value import NamedTestCaseVariableValue
|
6
8
|
import pydantic
|
7
9
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
10
|
+
from ..core.pydantic_utilities import update_forward_refs
|
8
11
|
|
9
12
|
|
10
13
|
class ExternalTestCaseExecution(UniversalBaseModel):
|
@@ -23,3 +26,6 @@ class ExternalTestCaseExecution(UniversalBaseModel):
|
|
23
26
|
frozen = True
|
24
27
|
smart_union = True
|
25
28
|
extra = pydantic.Extra.allow
|
29
|
+
|
30
|
+
|
31
|
+
update_forward_refs(ArrayVellumValue, ExternalTestCaseExecution=ExternalTestCaseExecution)
|
@@ -1,10 +1,13 @@
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
2
2
|
|
3
|
+
from __future__ import annotations
|
3
4
|
from ..core.pydantic_utilities import UniversalBaseModel
|
5
|
+
from .array_vellum_value_request import ArrayVellumValueRequest
|
4
6
|
import typing
|
5
7
|
from .named_test_case_variable_value_request import NamedTestCaseVariableValueRequest
|
6
8
|
import pydantic
|
7
9
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
10
|
+
from ..core.pydantic_utilities import update_forward_refs
|
8
11
|
|
9
12
|
|
10
13
|
class ExternalTestCaseExecutionRequest(UniversalBaseModel):
|
@@ -23,3 +26,6 @@ class ExternalTestCaseExecutionRequest(UniversalBaseModel):
|
|
23
26
|
frozen = True
|
24
27
|
smart_union = True
|
25
28
|
extra = pydantic.Extra.allow
|
29
|
+
|
30
|
+
|
31
|
+
update_forward_refs(ArrayVellumValueRequest, ExternalTestCaseExecutionRequest=ExternalTestCaseExecutionRequest)
|
@@ -1,11 +1,14 @@
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
2
2
|
|
3
|
+
from __future__ import annotations
|
3
4
|
from ..core.pydantic_utilities import UniversalBaseModel
|
5
|
+
from .array_vellum_value import ArrayVellumValue
|
4
6
|
import typing
|
5
7
|
import datetime as dt
|
6
8
|
from .workflow_output import WorkflowOutput
|
7
9
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
8
10
|
import pydantic
|
11
|
+
from ..core.pydantic_utilities import update_forward_refs
|
9
12
|
|
10
13
|
|
11
14
|
class FulfilledExecuteWorkflowWorkflowResultEvent(UniversalBaseModel):
|
@@ -26,3 +29,8 @@ class FulfilledExecuteWorkflowWorkflowResultEvent(UniversalBaseModel):
|
|
26
29
|
frozen = True
|
27
30
|
smart_union = True
|
28
31
|
extra = pydantic.Extra.allow
|
32
|
+
|
33
|
+
|
34
|
+
update_forward_refs(
|
35
|
+
ArrayVellumValue, FulfilledExecuteWorkflowWorkflowResultEvent=FulfilledExecuteWorkflowWorkflowResultEvent
|
36
|
+
)
|
@@ -1,12 +1,16 @@
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
2
2
|
|
3
|
+
from __future__ import annotations
|
3
4
|
from ..core.pydantic_utilities import UniversalBaseModel
|
5
|
+
from .array_variable_value import ArrayVariableValue
|
6
|
+
from .array_vellum_value import ArrayVellumValue
|
4
7
|
import typing
|
5
8
|
import datetime as dt
|
6
9
|
from .workflow_node_result_data import WorkflowNodeResultData
|
7
10
|
from .node_output_compiled_value import NodeOutputCompiledValue
|
8
11
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
9
12
|
import pydantic
|
13
|
+
from ..core.pydantic_utilities import update_forward_refs
|
10
14
|
|
11
15
|
|
12
16
|
class FulfilledWorkflowNodeResultEvent(UniversalBaseModel):
|
@@ -32,3 +36,7 @@ class FulfilledWorkflowNodeResultEvent(UniversalBaseModel):
|
|
32
36
|
frozen = True
|
33
37
|
smart_union = True
|
34
38
|
extra = pydantic.Extra.allow
|
39
|
+
|
40
|
+
|
41
|
+
update_forward_refs(ArrayVariableValue, FulfilledWorkflowNodeResultEvent=FulfilledWorkflowNodeResultEvent)
|
42
|
+
update_forward_refs(ArrayVellumValue, FulfilledWorkflowNodeResultEvent=FulfilledWorkflowNodeResultEvent)
|
@@ -1,12 +1,15 @@
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
2
2
|
|
3
|
+
from __future__ import annotations
|
3
4
|
from ..core.pydantic_utilities import UniversalBaseModel
|
5
|
+
from .array_variable_value import ArrayVariableValue
|
4
6
|
import typing
|
5
7
|
import datetime as dt
|
6
8
|
from .workflow_node_result_data import WorkflowNodeResultData
|
7
9
|
from .node_input_variable_compiled_value import NodeInputVariableCompiledValue
|
8
10
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
9
11
|
import pydantic
|
12
|
+
from ..core.pydantic_utilities import update_forward_refs
|
10
13
|
|
11
14
|
|
12
15
|
class InitiatedWorkflowNodeResultEvent(UniversalBaseModel):
|
@@ -31,3 +34,6 @@ class InitiatedWorkflowNodeResultEvent(UniversalBaseModel):
|
|
31
34
|
frozen = True
|
32
35
|
smart_union = True
|
33
36
|
extra = pydantic.Extra.allow
|
37
|
+
|
38
|
+
|
39
|
+
update_forward_refs(ArrayVariableValue, InitiatedWorkflowNodeResultEvent=InitiatedWorkflowNodeResultEvent)
|
@@ -1,10 +1,13 @@
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
2
2
|
|
3
|
+
from __future__ import annotations
|
3
4
|
from ..core.pydantic_utilities import UniversalBaseModel
|
5
|
+
from .array_vellum_value import ArrayVellumValue
|
4
6
|
import typing
|
5
7
|
from .array_vellum_value_item import ArrayVellumValueItem
|
6
8
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
7
9
|
import pydantic
|
10
|
+
from ..core.pydantic_utilities import update_forward_refs
|
8
11
|
|
9
12
|
|
10
13
|
class NamedTestCaseArrayVariableValue(UniversalBaseModel):
|
@@ -24,3 +27,6 @@ class NamedTestCaseArrayVariableValue(UniversalBaseModel):
|
|
24
27
|
frozen = True
|
25
28
|
smart_union = True
|
26
29
|
extra = pydantic.Extra.allow
|
30
|
+
|
31
|
+
|
32
|
+
update_forward_refs(ArrayVellumValue, NamedTestCaseArrayVariableValue=NamedTestCaseArrayVariableValue)
|
@@ -1,10 +1,13 @@
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
2
2
|
|
3
|
+
from __future__ import annotations
|
3
4
|
from ..core.pydantic_utilities import UniversalBaseModel
|
5
|
+
from .array_vellum_value_request import ArrayVellumValueRequest
|
4
6
|
import typing
|
5
7
|
from .array_vellum_value_item_request import ArrayVellumValueItemRequest
|
6
8
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
7
9
|
import pydantic
|
10
|
+
from ..core.pydantic_utilities import update_forward_refs
|
8
11
|
|
9
12
|
|
10
13
|
class NamedTestCaseArrayVariableValueRequest(UniversalBaseModel):
|
@@ -24,3 +27,8 @@ class NamedTestCaseArrayVariableValueRequest(UniversalBaseModel):
|
|
24
27
|
frozen = True
|
25
28
|
smart_union = True
|
26
29
|
extra = pydantic.Extra.allow
|
30
|
+
|
31
|
+
|
32
|
+
update_forward_refs(
|
33
|
+
ArrayVellumValueRequest, NamedTestCaseArrayVariableValueRequest=NamedTestCaseArrayVariableValueRequest
|
34
|
+
)
|
@@ -1,10 +1,13 @@
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
2
2
|
|
3
|
+
from __future__ import annotations
|
3
4
|
from ..core.pydantic_utilities import UniversalBaseModel
|
5
|
+
from .array_variable_value import ArrayVariableValue
|
4
6
|
import typing
|
5
7
|
from .array_variable_value_item import ArrayVariableValueItem
|
6
8
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
7
9
|
import pydantic
|
10
|
+
from ..core.pydantic_utilities import update_forward_refs
|
8
11
|
|
9
12
|
|
10
13
|
class NodeInputCompiledArrayValue(UniversalBaseModel):
|
@@ -21,3 +24,6 @@ class NodeInputCompiledArrayValue(UniversalBaseModel):
|
|
21
24
|
frozen = True
|
22
25
|
smart_union = True
|
23
26
|
extra = pydantic.Extra.allow
|
27
|
+
|
28
|
+
|
29
|
+
update_forward_refs(ArrayVariableValue, NodeInputCompiledArrayValue=NodeInputCompiledArrayValue)
|
@@ -1,11 +1,14 @@
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
2
2
|
|
3
|
+
from __future__ import annotations
|
3
4
|
from ..core.pydantic_utilities import UniversalBaseModel
|
5
|
+
from .array_vellum_value import ArrayVellumValue
|
4
6
|
import typing
|
5
7
|
from .array_vellum_value_item import ArrayVellumValueItem
|
6
8
|
from .workflow_node_result_event_state import WorkflowNodeResultEventState
|
7
9
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
8
10
|
import pydantic
|
11
|
+
from ..core.pydantic_utilities import update_forward_refs
|
9
12
|
|
10
13
|
|
11
14
|
class NodeOutputCompiledArrayValue(UniversalBaseModel):
|
@@ -26,3 +29,6 @@ class NodeOutputCompiledArrayValue(UniversalBaseModel):
|
|
26
29
|
frozen = True
|
27
30
|
smart_union = True
|
28
31
|
extra = pydantic.Extra.allow
|
32
|
+
|
33
|
+
|
34
|
+
update_forward_refs(ArrayVellumValue, NodeOutputCompiledArrayValue=NodeOutputCompiledArrayValue)
|
@@ -1,10 +1,13 @@
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
2
2
|
|
3
|
+
from __future__ import annotations
|
3
4
|
from ..core.pydantic_utilities import UniversalBaseModel
|
5
|
+
from .array_vellum_value import ArrayVellumValue
|
4
6
|
import typing
|
5
7
|
from .test_suite_run_execution import TestSuiteRunExecution
|
6
8
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
7
9
|
import pydantic
|
10
|
+
from ..core.pydantic_utilities import update_forward_refs
|
8
11
|
|
9
12
|
|
10
13
|
class PaginatedTestSuiteRunExecutionList(UniversalBaseModel):
|
@@ -21,3 +24,6 @@ class PaginatedTestSuiteRunExecutionList(UniversalBaseModel):
|
|
21
24
|
frozen = True
|
22
25
|
smart_union = True
|
23
26
|
extra = pydantic.Extra.allow
|
27
|
+
|
28
|
+
|
29
|
+
update_forward_refs(ArrayVellumValue, PaginatedTestSuiteRunExecutionList=PaginatedTestSuiteRunExecutionList)
|
@@ -1,10 +1,13 @@
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
2
2
|
|
3
|
+
from __future__ import annotations
|
3
4
|
from ..core.pydantic_utilities import UniversalBaseModel
|
5
|
+
from .array_vellum_value import ArrayVellumValue
|
4
6
|
import typing
|
5
7
|
from .test_suite_test_case import TestSuiteTestCase
|
6
8
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
7
9
|
import pydantic
|
10
|
+
from ..core.pydantic_utilities import update_forward_refs
|
8
11
|
|
9
12
|
|
10
13
|
class PaginatedTestSuiteTestCaseList(UniversalBaseModel):
|
@@ -21,3 +24,6 @@ class PaginatedTestSuiteTestCaseList(UniversalBaseModel):
|
|
21
24
|
frozen = True
|
22
25
|
smart_union = True
|
23
26
|
extra = pydantic.Extra.allow
|
27
|
+
|
28
|
+
|
29
|
+
update_forward_refs(ArrayVellumValue, PaginatedTestSuiteTestCaseList=PaginatedTestSuiteTestCaseList)
|
@@ -1,12 +1,15 @@
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
2
2
|
|
3
|
+
from __future__ import annotations
|
3
4
|
from ..core.pydantic_utilities import UniversalBaseModel
|
5
|
+
from .array_variable_value import ArrayVariableValue
|
4
6
|
import typing
|
5
7
|
import datetime as dt
|
6
8
|
from .workflow_node_result_data import WorkflowNodeResultData
|
7
9
|
from .workflow_event_error import WorkflowEventError
|
8
10
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
9
11
|
import pydantic
|
12
|
+
from ..core.pydantic_utilities import update_forward_refs
|
10
13
|
|
11
14
|
|
12
15
|
class RejectedWorkflowNodeResultEvent(UniversalBaseModel):
|
@@ -31,3 +34,6 @@ class RejectedWorkflowNodeResultEvent(UniversalBaseModel):
|
|
31
34
|
frozen = True
|
32
35
|
smart_union = True
|
33
36
|
extra = pydantic.Extra.allow
|
37
|
+
|
38
|
+
|
39
|
+
update_forward_refs(ArrayVariableValue, RejectedWorkflowNodeResultEvent=RejectedWorkflowNodeResultEvent)
|
@@ -1,10 +1,13 @@
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
2
2
|
|
3
|
+
from __future__ import annotations
|
3
4
|
from ..core.pydantic_utilities import UniversalBaseModel
|
5
|
+
from .array_vellum_value_request import ArrayVellumValueRequest
|
4
6
|
import typing
|
5
7
|
import pydantic
|
6
8
|
from .named_test_case_variable_value_request import NamedTestCaseVariableValueRequest
|
7
9
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
10
|
+
from ..core.pydantic_utilities import update_forward_refs
|
8
11
|
|
9
12
|
|
10
13
|
class ReplaceTestSuiteTestCaseRequest(UniversalBaseModel):
|
@@ -45,3 +48,6 @@ class ReplaceTestSuiteTestCaseRequest(UniversalBaseModel):
|
|
45
48
|
frozen = True
|
46
49
|
smart_union = True
|
47
50
|
extra = pydantic.Extra.allow
|
51
|
+
|
52
|
+
|
53
|
+
update_forward_refs(ArrayVellumValueRequest, ReplaceTestSuiteTestCaseRequest=ReplaceTestSuiteTestCaseRequest)
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
2
|
+
|
3
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
4
|
+
import typing
|
5
|
+
from .search_result import SearchResult
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
7
|
+
import pydantic
|
8
|
+
|
9
|
+
|
10
|
+
class SearchResultsVariableValue(UniversalBaseModel):
|
11
|
+
type: typing.Literal["SEARCH_RESULTS"] = "SEARCH_RESULTS"
|
12
|
+
value: typing.Optional[typing.List[SearchResult]] = None
|
13
|
+
|
14
|
+
if IS_PYDANTIC_V2:
|
15
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
16
|
+
else:
|
17
|
+
|
18
|
+
class Config:
|
19
|
+
frozen = True
|
20
|
+
smart_union = True
|
21
|
+
extra = pydantic.Extra.allow
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
2
|
+
|
3
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
4
|
+
import typing
|
5
|
+
from .search_result import SearchResult
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
7
|
+
import pydantic
|
8
|
+
|
9
|
+
|
10
|
+
class SearchResultsVellumValue(UniversalBaseModel):
|
11
|
+
"""
|
12
|
+
A value representing Search Results.
|
13
|
+
"""
|
14
|
+
|
15
|
+
type: typing.Literal["SEARCH_RESULTS"] = "SEARCH_RESULTS"
|
16
|
+
value: typing.Optional[typing.List[SearchResult]] = None
|
17
|
+
|
18
|
+
if IS_PYDANTIC_V2:
|
19
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
20
|
+
else:
|
21
|
+
|
22
|
+
class Config:
|
23
|
+
frozen = True
|
24
|
+
smart_union = True
|
25
|
+
extra = pydantic.Extra.allow
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
2
|
+
|
3
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
4
|
+
import typing
|
5
|
+
from .search_result_request import SearchResultRequest
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
7
|
+
import pydantic
|
8
|
+
|
9
|
+
|
10
|
+
class SearchResultsVellumValueRequest(UniversalBaseModel):
|
11
|
+
"""
|
12
|
+
A value representing Search Results.
|
13
|
+
"""
|
14
|
+
|
15
|
+
type: typing.Literal["SEARCH_RESULTS"] = "SEARCH_RESULTS"
|
16
|
+
value: typing.Optional[typing.List[SearchResultRequest]] = None
|
17
|
+
|
18
|
+
if IS_PYDANTIC_V2:
|
19
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
20
|
+
else:
|
21
|
+
|
22
|
+
class Config:
|
23
|
+
frozen = True
|
24
|
+
smart_union = True
|
25
|
+
extra = pydantic.Extra.allow
|
@@ -1,12 +1,16 @@
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
2
2
|
|
3
|
+
from __future__ import annotations
|
3
4
|
from ..core.pydantic_utilities import UniversalBaseModel
|
5
|
+
from .array_variable_value import ArrayVariableValue
|
6
|
+
from .array_vellum_value import ArrayVellumValue
|
4
7
|
import typing
|
5
8
|
import datetime as dt
|
6
9
|
from .workflow_node_result_data import WorkflowNodeResultData
|
7
10
|
from .node_output_compiled_value import NodeOutputCompiledValue
|
8
11
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
9
12
|
import pydantic
|
13
|
+
from ..core.pydantic_utilities import update_forward_refs
|
10
14
|
|
11
15
|
|
12
16
|
class StreamingWorkflowNodeResultEvent(UniversalBaseModel):
|
@@ -32,3 +36,7 @@ class StreamingWorkflowNodeResultEvent(UniversalBaseModel):
|
|
32
36
|
frozen = True
|
33
37
|
smart_union = True
|
34
38
|
extra = pydantic.Extra.allow
|
39
|
+
|
40
|
+
|
41
|
+
update_forward_refs(ArrayVariableValue, StreamingWorkflowNodeResultEvent=StreamingWorkflowNodeResultEvent)
|
42
|
+
update_forward_refs(ArrayVellumValue, StreamingWorkflowNodeResultEvent=StreamingWorkflowNodeResultEvent)
|
@@ -1,10 +1,13 @@
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
2
2
|
|
3
|
+
from __future__ import annotations
|
3
4
|
from ..core.pydantic_utilities import UniversalBaseModel
|
5
|
+
from .array_variable_value import ArrayVariableValue
|
4
6
|
import typing
|
5
7
|
from .array_variable_value_item import ArrayVariableValueItem
|
6
8
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
7
9
|
import pydantic
|
10
|
+
from ..core.pydantic_utilities import update_forward_refs
|
8
11
|
|
9
12
|
|
10
13
|
class TemplatingNodeArrayResult(UniversalBaseModel):
|
@@ -20,3 +23,6 @@ class TemplatingNodeArrayResult(UniversalBaseModel):
|
|
20
23
|
frozen = True
|
21
24
|
smart_union = True
|
22
25
|
extra = pydantic.Extra.allow
|
26
|
+
|
27
|
+
|
28
|
+
update_forward_refs(ArrayVariableValue, TemplatingNodeArrayResult=TemplatingNodeArrayResult)
|
@@ -1,10 +1,13 @@
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
2
2
|
|
3
|
+
from __future__ import annotations
|
3
4
|
from ..core.pydantic_utilities import UniversalBaseModel
|
5
|
+
from .array_variable_value import ArrayVariableValue
|
4
6
|
import typing
|
5
7
|
from .templating_node_result_data import TemplatingNodeResultData
|
6
8
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
7
9
|
import pydantic
|
10
|
+
from ..core.pydantic_utilities import update_forward_refs
|
8
11
|
|
9
12
|
|
10
13
|
class TemplatingNodeResult(UniversalBaseModel):
|
@@ -23,3 +26,6 @@ class TemplatingNodeResult(UniversalBaseModel):
|
|
23
26
|
frozen = True
|
24
27
|
smart_union = True
|
25
28
|
extra = pydantic.Extra.allow
|
29
|
+
|
30
|
+
|
31
|
+
update_forward_refs(ArrayVariableValue, TemplatingNodeResult=TemplatingNodeResult)
|
@@ -1,10 +1,13 @@
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
2
2
|
|
3
|
+
from __future__ import annotations
|
3
4
|
from ..core.pydantic_utilities import UniversalBaseModel
|
5
|
+
from .array_variable_value import ArrayVariableValue
|
4
6
|
from .templating_node_result_output import TemplatingNodeResultOutput
|
5
7
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
6
8
|
import typing
|
7
9
|
import pydantic
|
10
|
+
from ..core.pydantic_utilities import update_forward_refs
|
8
11
|
|
9
12
|
|
10
13
|
class TemplatingNodeResultData(UniversalBaseModel):
|
@@ -18,3 +21,6 @@ class TemplatingNodeResultData(UniversalBaseModel):
|
|
18
21
|
frozen = True
|
19
22
|
smart_union = True
|
20
23
|
extra = pydantic.Extra.allow
|
24
|
+
|
25
|
+
|
26
|
+
update_forward_refs(ArrayVariableValue, TemplatingNodeResultData=TemplatingNodeResultData)
|
@@ -1,10 +1,13 @@
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
2
2
|
|
3
|
+
from __future__ import annotations
|
3
4
|
from ..core.pydantic_utilities import UniversalBaseModel
|
5
|
+
from .array_variable_value import ArrayVariableValue
|
4
6
|
import typing
|
5
7
|
import pydantic
|
6
8
|
from .array_variable_value_item import ArrayVariableValueItem
|
7
9
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
10
|
+
from ..core.pydantic_utilities import update_forward_refs
|
8
11
|
|
9
12
|
|
10
13
|
class TerminalNodeArrayResult(UniversalBaseModel):
|
@@ -25,3 +28,6 @@ class TerminalNodeArrayResult(UniversalBaseModel):
|
|
25
28
|
frozen = True
|
26
29
|
smart_union = True
|
27
30
|
extra = pydantic.Extra.allow
|
31
|
+
|
32
|
+
|
33
|
+
update_forward_refs(ArrayVariableValue, TerminalNodeArrayResult=TerminalNodeArrayResult)
|
@@ -1,10 +1,13 @@
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
2
2
|
|
3
|
+
from __future__ import annotations
|
3
4
|
from ..core.pydantic_utilities import UniversalBaseModel
|
5
|
+
from .array_variable_value import ArrayVariableValue
|
4
6
|
import typing
|
5
7
|
from .terminal_node_result_data import TerminalNodeResultData
|
6
8
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
7
9
|
import pydantic
|
10
|
+
from ..core.pydantic_utilities import update_forward_refs
|
8
11
|
|
9
12
|
|
10
13
|
class TerminalNodeResult(UniversalBaseModel):
|
@@ -23,3 +26,6 @@ class TerminalNodeResult(UniversalBaseModel):
|
|
23
26
|
frozen = True
|
24
27
|
smart_union = True
|
25
28
|
extra = pydantic.Extra.allow
|
29
|
+
|
30
|
+
|
31
|
+
update_forward_refs(ArrayVariableValue, TerminalNodeResult=TerminalNodeResult)
|
@@ -1,10 +1,13 @@
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
2
2
|
|
3
|
+
from __future__ import annotations
|
3
4
|
from ..core.pydantic_utilities import UniversalBaseModel
|
5
|
+
from .array_variable_value import ArrayVariableValue
|
4
6
|
from .terminal_node_result_output import TerminalNodeResultOutput
|
5
7
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
6
8
|
import typing
|
7
9
|
import pydantic
|
10
|
+
from ..core.pydantic_utilities import update_forward_refs
|
8
11
|
|
9
12
|
|
10
13
|
class TerminalNodeResultData(UniversalBaseModel):
|
@@ -18,3 +21,6 @@ class TerminalNodeResultData(UniversalBaseModel):
|
|
18
21
|
frozen = True
|
19
22
|
smart_union = True
|
20
23
|
extra = pydantic.Extra.allow
|
24
|
+
|
25
|
+
|
26
|
+
update_forward_refs(ArrayVariableValue, TerminalNodeResultData=TerminalNodeResultData)
|
@@ -1,10 +1,13 @@
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
2
2
|
|
3
|
+
from __future__ import annotations
|
3
4
|
from ..core.pydantic_utilities import UniversalBaseModel
|
5
|
+
from .array_vellum_value import ArrayVellumValue
|
4
6
|
import typing
|
5
7
|
from .array_vellum_value_item import ArrayVellumValueItem
|
6
8
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
7
9
|
import pydantic
|
10
|
+
from ..core.pydantic_utilities import update_forward_refs
|
8
11
|
|
9
12
|
|
10
13
|
class TestCaseArrayVariableValue(UniversalBaseModel):
|
@@ -25,3 +28,6 @@ class TestCaseArrayVariableValue(UniversalBaseModel):
|
|
25
28
|
frozen = True
|
26
29
|
smart_union = True
|
27
30
|
extra = pydantic.Extra.allow
|
31
|
+
|
32
|
+
|
33
|
+
update_forward_refs(ArrayVellumValue, TestCaseArrayVariableValue=TestCaseArrayVariableValue)
|
@@ -1,11 +1,14 @@
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
2
2
|
|
3
|
+
from __future__ import annotations
|
3
4
|
from ..core.pydantic_utilities import UniversalBaseModel
|
5
|
+
from .array_vellum_value import ArrayVellumValue
|
4
6
|
import typing
|
5
7
|
from .test_suite_run_execution_output import TestSuiteRunExecutionOutput
|
6
8
|
from .test_suite_run_execution_metric_result import TestSuiteRunExecutionMetricResult
|
7
9
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
8
10
|
import pydantic
|
11
|
+
from ..core.pydantic_utilities import update_forward_refs
|
9
12
|
|
10
13
|
|
11
14
|
class TestSuiteRunExecution(UniversalBaseModel):
|
@@ -22,3 +25,6 @@ class TestSuiteRunExecution(UniversalBaseModel):
|
|
22
25
|
frozen = True
|
23
26
|
smart_union = True
|
24
27
|
extra = pydantic.Extra.allow
|
28
|
+
|
29
|
+
|
30
|
+
update_forward_refs(ArrayVellumValue, TestSuiteRunExecution=TestSuiteRunExecution)
|
@@ -1,10 +1,13 @@
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
2
2
|
|
3
|
+
from __future__ import annotations
|
3
4
|
from ..core.pydantic_utilities import UniversalBaseModel
|
5
|
+
from .array_vellum_value import ArrayVellumValue
|
4
6
|
import typing
|
5
7
|
from .array_vellum_value_item import ArrayVellumValueItem
|
6
8
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
7
9
|
import pydantic
|
10
|
+
from ..core.pydantic_utilities import update_forward_refs
|
8
11
|
|
9
12
|
|
10
13
|
class TestSuiteRunExecutionArrayOutput(UniversalBaseModel):
|
@@ -25,3 +28,6 @@ class TestSuiteRunExecutionArrayOutput(UniversalBaseModel):
|
|
25
28
|
frozen = True
|
26
29
|
smart_union = True
|
27
30
|
extra = pydantic.Extra.allow
|
31
|
+
|
32
|
+
|
33
|
+
update_forward_refs(ArrayVellumValue, TestSuiteRunExecutionArrayOutput=TestSuiteRunExecutionArrayOutput)
|
@@ -1,10 +1,13 @@
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
2
2
|
|
3
|
+
from __future__ import annotations
|
3
4
|
from ..core.pydantic_utilities import UniversalBaseModel
|
5
|
+
from .array_vellum_value import ArrayVellumValue
|
4
6
|
from .test_suite_run_external_exec_config_data import TestSuiteRunExternalExecConfigData
|
5
7
|
import typing
|
6
8
|
import pydantic
|
7
9
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
10
|
+
from ..core.pydantic_utilities import update_forward_refs
|
8
11
|
|
9
12
|
|
10
13
|
class TestSuiteRunExternalExecConfig(UniversalBaseModel):
|
@@ -28,3 +31,6 @@ class TestSuiteRunExternalExecConfig(UniversalBaseModel):
|
|
28
31
|
frozen = True
|
29
32
|
smart_union = True
|
30
33
|
extra = pydantic.Extra.allow
|
34
|
+
|
35
|
+
|
36
|
+
update_forward_refs(ArrayVellumValue, TestSuiteRunExternalExecConfig=TestSuiteRunExternalExecConfig)
|