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.
- vellum/client/README.md +2 -2
- vellum/client/__init__.py +72 -6
- vellum/client/core/client_wrapper.py +1 -1
- vellum/client/core/file.py +13 -8
- vellum/client/core/http_client.py +26 -14
- vellum/client/core/pydantic_utilities.py +2 -2
- vellum/client/core/request_options.py +3 -0
- vellum/client/resources/ad_hoc/client.py +14 -2
- vellum/client/resources/container_images/client.py +6 -0
- vellum/client/resources/deployments/client.py +12 -0
- vellum/client/resources/document_indexes/client.py +18 -0
- vellum/client/resources/documents/client.py +6 -0
- vellum/client/resources/folder_entities/client.py +6 -0
- vellum/client/resources/metric_definitions/client.py +6 -0
- vellum/client/resources/prompts/client.py +6 -0
- vellum/client/resources/sandboxes/client.py +12 -0
- vellum/client/resources/test_suite_runs/client.py +6 -0
- vellum/client/resources/test_suites/client.py +2 -2
- vellum/client/resources/workflow_deployments/client.py +6 -0
- vellum/client/resources/workflow_sandboxes/client.py +6 -0
- vellum/client/resources/workflows/client.py +6 -4
- vellum/client/resources/workspace_secrets/client.py +6 -0
- vellum/client/types/api_request_parent_context.py +0 -6
- vellum/client/types/array_input.py +0 -5
- vellum/client/types/code_execution_node_array_result.py +0 -5
- vellum/client/types/code_execution_node_result.py +0 -5
- vellum/client/types/code_execution_node_result_data.py +0 -5
- vellum/client/types/code_executor_response.py +0 -5
- vellum/client/types/create_test_suite_test_case_request.py +0 -5
- vellum/client/types/deployment_history_item.py +0 -5
- vellum/client/types/deployment_read.py +0 -5
- vellum/client/types/execute_workflow_response.py +0 -5
- vellum/client/types/execution_array_vellum_value.py +0 -5
- vellum/client/types/external_test_case_execution.py +0 -5
- vellum/client/types/external_test_case_execution_request.py +0 -5
- vellum/client/types/fulfilled_execute_workflow_workflow_result_event.py +0 -7
- vellum/client/types/fulfilled_workflow_node_result_event.py +0 -5
- vellum/client/types/initiated_workflow_node_result_event.py +0 -5
- vellum/client/types/metadata_filter_config_request.py +0 -5
- vellum/client/types/metric_definition_execution.py +0 -5
- vellum/client/types/metric_definition_history_item.py +0 -5
- vellum/client/types/named_test_case_array_variable_value.py +0 -5
- vellum/client/types/named_test_case_array_variable_value_request.py +0 -7
- vellum/client/types/node_execution_fulfilled_event.py +0 -11
- vellum/client/types/node_execution_initiated_event.py +0 -11
- vellum/client/types/node_execution_paused_event.py +0 -11
- vellum/client/types/node_execution_rejected_event.py +0 -11
- vellum/client/types/node_execution_resumed_event.py +0 -11
- vellum/client/types/node_execution_span.py +0 -11
- vellum/client/types/node_execution_streaming_event.py +0 -11
- vellum/client/types/node_input_compiled_array_value.py +0 -5
- vellum/client/types/node_output_compiled_array_value.py +0 -5
- vellum/client/types/node_parent_context.py +0 -6
- vellum/client/types/paginated_slim_deployment_read_list.py +0 -5
- vellum/client/types/paginated_slim_workflow_deployment_list.py +0 -5
- vellum/client/types/paginated_test_suite_run_execution_list.py +0 -5
- vellum/client/types/paginated_test_suite_test_case_list.py +0 -5
- vellum/client/types/prompt_deployment_parent_context.py +0 -6
- vellum/client/types/prompt_exec_config.py +0 -6
- vellum/client/types/rejected_workflow_node_result_event.py +0 -5
- vellum/client/types/replace_test_suite_test_case_request.py +0 -5
- vellum/client/types/search_filters_request.py +0 -7
- vellum/client/types/search_request_options_request.py +0 -7
- vellum/client/types/slim_deployment_read.py +0 -5
- vellum/client/types/slim_workflow_deployment.py +0 -5
- vellum/client/types/slim_workflow_execution_read.py +0 -12
- vellum/client/types/span_link.py +0 -6
- vellum/client/types/streaming_workflow_node_result_event.py +0 -5
- vellum/client/types/templating_node_array_result.py +0 -5
- vellum/client/types/templating_node_result.py +0 -5
- vellum/client/types/templating_node_result_data.py +0 -5
- vellum/client/types/terminal_node_array_result.py +0 -5
- vellum/client/types/terminal_node_result.py +0 -5
- vellum/client/types/terminal_node_result_data.py +0 -5
- vellum/client/types/test_case_array_variable_value.py +0 -5
- vellum/client/types/test_suite_run_execution.py +0 -5
- vellum/client/types/test_suite_run_execution_array_output.py +0 -5
- vellum/client/types/test_suite_run_execution_metric_result.py +0 -5
- vellum/client/types/test_suite_run_external_exec_config.py +0 -5
- vellum/client/types/test_suite_run_external_exec_config_data.py +0 -5
- vellum/client/types/test_suite_run_external_exec_config_data_request.py +0 -7
- vellum/client/types/test_suite_run_external_exec_config_request.py +0 -7
- vellum/client/types/test_suite_run_metric_array_output.py +0 -5
- vellum/client/types/test_suite_run_read.py +0 -5
- vellum/client/types/test_suite_test_case.py +0 -5
- vellum/client/types/test_suite_test_case_create_bulk_operation_request.py +0 -7
- vellum/client/types/test_suite_test_case_replace_bulk_operation_request.py +0 -7
- vellum/client/types/test_suite_test_case_upsert_bulk_operation_request.py +0 -7
- vellum/client/types/upsert_test_suite_test_case_request.py +0 -5
- vellum/client/types/vellum_value_logical_condition_group_request.py +0 -3
- vellum/client/types/vellum_value_logical_condition_request.py +0 -5
- vellum/client/types/vellum_variable.py +0 -5
- vellum/client/types/workflow_deployment_event_executions_response.py +0 -26
- vellum/client/types/workflow_deployment_history_item.py +0 -5
- vellum/client/types/workflow_deployment_parent_context.py +0 -6
- vellum/client/types/workflow_deployment_read.py +0 -5
- vellum/client/types/workflow_deployment_release.py +0 -5
- vellum/client/types/workflow_deployment_release_workflow_version.py +0 -5
- vellum/client/types/workflow_event_execution_read.py +0 -12
- vellum/client/types/workflow_execution_actual.py +0 -5
- vellum/client/types/workflow_execution_fulfilled_event.py +0 -11
- vellum/client/types/workflow_execution_initiated_event.py +0 -11
- vellum/client/types/workflow_execution_node_result_event.py +0 -5
- vellum/client/types/workflow_execution_paused_event.py +0 -11
- vellum/client/types/workflow_execution_rejected_event.py +0 -11
- vellum/client/types/workflow_execution_resumed_event.py +0 -11
- vellum/client/types/workflow_execution_snapshotted_event.py +0 -13
- vellum/client/types/workflow_execution_span.py +0 -11
- vellum/client/types/workflow_execution_streaming_event.py +0 -11
- vellum/client/types/workflow_execution_view_online_eval_metric_result.py +0 -7
- vellum/client/types/workflow_execution_workflow_result_event.py +0 -5
- vellum/client/types/workflow_output_array.py +0 -5
- vellum/client/types/workflow_parent_context.py +0 -6
- vellum/client/types/workflow_result_event.py +0 -5
- vellum/client/types/workflow_result_event_output_data_array.py +0 -5
- vellum/client/types/workflow_sandbox_parent_context.py +0 -6
- vellum/workflows/nodes/bases/base.py +26 -6
- vellum/workflows/nodes/bases/tests/test_base_node.py +30 -0
- vellum/workflows/nodes/displayable/code_execution_node/tests/test_code_execution_node.py +50 -0
- vellum/workflows/nodes/utils.py +5 -1
- vellum/workflows/types/code_execution_node_wrappers.py +5 -0
- {vellum_ai-0.14.46.dist-info → vellum_ai-0.14.48.dist-info}/METADATA +1 -1
- {vellum_ai-0.14.46.dist-info → vellum_ai-0.14.48.dist-info}/RECORD +152 -152
- vellum_cli/__init__.py +3 -2
- vellum_cli/image_push.py +15 -3
- vellum_cli/tests/test_image_push.py +109 -0
- vellum_ee/workflows/display/nodes/base_node_display.py +25 -9
- vellum_ee/workflows/display/nodes/get_node_display_class.py +4 -5
- vellum_ee/workflows/display/nodes/vellum/api_node.py +11 -0
- vellum_ee/workflows/display/nodes/vellum/code_execution_node.py +5 -0
- vellum_ee/workflows/display/nodes/vellum/error_node.py +22 -16
- vellum_ee/workflows/display/nodes/vellum/guardrail_node.py +2 -0
- vellum_ee/workflows/display/nodes/vellum/inline_prompt_node.py +47 -13
- vellum_ee/workflows/display/nodes/vellum/inline_subworkflow_node.py +2 -0
- vellum_ee/workflows/display/nodes/vellum/map_node.py +2 -0
- vellum_ee/workflows/display/nodes/vellum/prompt_deployment_node.py +2 -0
- vellum_ee/workflows/display/nodes/vellum/search_node.py +8 -0
- vellum_ee/workflows/display/nodes/vellum/subworkflow_deployment_node.py +1 -0
- vellum_ee/workflows/display/nodes/vellum/templating_node.py +2 -0
- vellum_ee/workflows/display/nodes/vellum/tests/test_code_execution_node.py +1 -1
- vellum_ee/workflows/display/nodes/vellum/tests/test_error_node.py +4 -0
- vellum_ee/workflows/display/nodes/vellum/tests/test_prompt_deployment_node.py +4 -3
- vellum_ee/workflows/display/nodes/vellum/tests/test_prompt_node.py +67 -2
- vellum_ee/workflows/display/nodes/vellum/tests/test_subworkflow_deployment_node.py +5 -4
- vellum_ee/workflows/display/nodes/vellum/tests/test_templating_node.py +1 -1
- vellum_ee/workflows/display/tests/test_base_workflow_display.py +44 -0
- vellum_ee/workflows/display/tests/workflow_serialization/test_basic_error_node_serialization.py +2 -4
- vellum_ee/workflows/display/utils/expressions.py +31 -4
- vellum_ee/workflows/display/workflows/tests/test_workflow_display.py +162 -0
- {vellum_ai-0.14.46.dist-info → vellum_ai-0.14.48.dist-info}/LICENSE +0 -0
- {vellum_ai-0.14.46.dist-info → vellum_ai-0.14.48.dist-info}/WHEEL +0 -0
- {vellum_ai-0.14.46.dist-info → vellum_ai-0.14.48.dist-info}/entry_points.txt +0 -0
@@ -74,6 +74,9 @@ class MetricDefinitionsClient:
|
|
74
74
|
),
|
75
75
|
"release_tag": release_tag,
|
76
76
|
},
|
77
|
+
headers={
|
78
|
+
"content-type": "application/json",
|
79
|
+
},
|
77
80
|
request_options=request_options,
|
78
81
|
omit=OMIT,
|
79
82
|
)
|
@@ -209,6 +212,9 @@ class AsyncMetricDefinitionsClient:
|
|
209
212
|
),
|
210
213
|
"release_tag": release_tag,
|
211
214
|
},
|
215
|
+
headers={
|
216
|
+
"content-type": "application/json",
|
217
|
+
},
|
212
218
|
request_options=request_options,
|
213
219
|
omit=OMIT,
|
214
220
|
)
|
@@ -175,6 +175,9 @@ class PromptsClient:
|
|
175
175
|
"prompt_variant_id": prompt_variant_id,
|
176
176
|
"prompt_sandbox_id": prompt_sandbox_id,
|
177
177
|
},
|
178
|
+
headers={
|
179
|
+
"content-type": "application/json",
|
180
|
+
},
|
178
181
|
request_options=request_options,
|
179
182
|
omit=OMIT,
|
180
183
|
)
|
@@ -386,6 +389,9 @@ class AsyncPromptsClient:
|
|
386
389
|
"prompt_variant_id": prompt_variant_id,
|
387
390
|
"prompt_sandbox_id": prompt_sandbox_id,
|
388
391
|
},
|
392
|
+
headers={
|
393
|
+
"content-type": "application/json",
|
394
|
+
},
|
389
395
|
request_options=request_options,
|
390
396
|
omit=OMIT,
|
391
397
|
)
|
@@ -88,6 +88,9 @@ class SandboxesClient:
|
|
88
88
|
"release_tags": release_tags,
|
89
89
|
"release_description": release_description,
|
90
90
|
},
|
91
|
+
headers={
|
92
|
+
"content-type": "application/json",
|
93
|
+
},
|
91
94
|
request_options=request_options,
|
92
95
|
omit=OMIT,
|
93
96
|
)
|
@@ -177,6 +180,9 @@ class SandboxesClient:
|
|
177
180
|
),
|
178
181
|
"scenario_id": scenario_id,
|
179
182
|
},
|
183
|
+
headers={
|
184
|
+
"content-type": "application/json",
|
185
|
+
},
|
180
186
|
request_options=request_options,
|
181
187
|
omit=OMIT,
|
182
188
|
)
|
@@ -321,6 +327,9 @@ class AsyncSandboxesClient:
|
|
321
327
|
"release_tags": release_tags,
|
322
328
|
"release_description": release_description,
|
323
329
|
},
|
330
|
+
headers={
|
331
|
+
"content-type": "application/json",
|
332
|
+
},
|
324
333
|
request_options=request_options,
|
325
334
|
omit=OMIT,
|
326
335
|
)
|
@@ -418,6 +427,9 @@ class AsyncSandboxesClient:
|
|
418
427
|
),
|
419
428
|
"scenario_id": scenario_id,
|
420
429
|
},
|
430
|
+
headers={
|
431
|
+
"content-type": "application/json",
|
432
|
+
},
|
421
433
|
request_options=request_options,
|
422
434
|
omit=OMIT,
|
423
435
|
)
|
@@ -81,6 +81,9 @@ class TestSuiteRunsClient:
|
|
81
81
|
object_=exec_config, annotation=TestSuiteRunExecConfigRequest, direction="write"
|
82
82
|
),
|
83
83
|
},
|
84
|
+
headers={
|
85
|
+
"content-type": "application/json",
|
86
|
+
},
|
84
87
|
request_options=request_options,
|
85
88
|
omit=OMIT,
|
86
89
|
)
|
@@ -290,6 +293,9 @@ class AsyncTestSuiteRunsClient:
|
|
290
293
|
object_=exec_config, annotation=TestSuiteRunExecConfigRequest, direction="write"
|
291
294
|
),
|
292
295
|
},
|
296
|
+
headers={
|
297
|
+
"content-type": "application/json",
|
298
|
+
},
|
293
299
|
request_options=request_options,
|
294
300
|
omit=OMIT,
|
295
301
|
)
|
@@ -295,7 +295,7 @@ class TestSuitesClient:
|
|
295
295
|
object_=json.loads(_text),
|
296
296
|
),
|
297
297
|
)
|
298
|
-
except:
|
298
|
+
except Exception:
|
299
299
|
pass
|
300
300
|
return
|
301
301
|
_response.read()
|
@@ -651,7 +651,7 @@ class AsyncTestSuitesClient:
|
|
651
651
|
object_=json.loads(_text),
|
652
652
|
),
|
653
653
|
)
|
654
|
-
except:
|
654
|
+
except Exception:
|
655
655
|
pass
|
656
656
|
return
|
657
657
|
await _response.aread()
|
@@ -490,6 +490,9 @@ class WorkflowDeploymentsClient:
|
|
490
490
|
json={
|
491
491
|
"history_item_id": history_item_id,
|
492
492
|
},
|
493
|
+
headers={
|
494
|
+
"content-type": "application/json",
|
495
|
+
},
|
493
496
|
request_options=request_options,
|
494
497
|
omit=OMIT,
|
495
498
|
)
|
@@ -1042,6 +1045,9 @@ class AsyncWorkflowDeploymentsClient:
|
|
1042
1045
|
json={
|
1043
1046
|
"history_item_id": history_item_id,
|
1044
1047
|
},
|
1048
|
+
headers={
|
1049
|
+
"content-type": "application/json",
|
1050
|
+
},
|
1045
1051
|
request_options=request_options,
|
1046
1052
|
omit=OMIT,
|
1047
1053
|
)
|
@@ -87,6 +87,9 @@ class WorkflowSandboxesClient:
|
|
87
87
|
"release_tags": release_tags,
|
88
88
|
"release_description": release_description,
|
89
89
|
},
|
90
|
+
headers={
|
91
|
+
"content-type": "application/json",
|
92
|
+
},
|
90
93
|
request_options=request_options,
|
91
94
|
omit=OMIT,
|
92
95
|
)
|
@@ -252,6 +255,9 @@ class AsyncWorkflowSandboxesClient:
|
|
252
255
|
"release_tags": release_tags,
|
253
256
|
"release_description": release_description,
|
254
257
|
},
|
258
|
+
headers={
|
259
|
+
"content-type": "application/json",
|
260
|
+
},
|
255
261
|
request_options=request_options,
|
256
262
|
omit=OMIT,
|
257
263
|
)
|
@@ -47,7 +47,7 @@ class WorkflowsClient:
|
|
47
47
|
strict : typing.Optional[bool]
|
48
48
|
|
49
49
|
request_options : typing.Optional[RequestOptions]
|
50
|
-
Request-specific configuration.
|
50
|
+
Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response.
|
51
51
|
|
52
52
|
Yields
|
53
53
|
------
|
@@ -68,7 +68,8 @@ class WorkflowsClient:
|
|
68
68
|
) as _response:
|
69
69
|
try:
|
70
70
|
if 200 <= _response.status_code < 300:
|
71
|
-
|
71
|
+
_chunk_size = request_options.get("chunk_size", None) if request_options is not None else None
|
72
|
+
for _chunk in _response.iter_bytes(chunk_size=_chunk_size):
|
72
73
|
yield _chunk
|
73
74
|
return
|
74
75
|
_response.read()
|
@@ -195,7 +196,7 @@ class AsyncWorkflowsClient:
|
|
195
196
|
strict : typing.Optional[bool]
|
196
197
|
|
197
198
|
request_options : typing.Optional[RequestOptions]
|
198
|
-
Request-specific configuration.
|
199
|
+
Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response.
|
199
200
|
|
200
201
|
Yields
|
201
202
|
------
|
@@ -216,7 +217,8 @@ class AsyncWorkflowsClient:
|
|
216
217
|
) as _response:
|
217
218
|
try:
|
218
219
|
if 200 <= _response.status_code < 300:
|
219
|
-
|
220
|
+
_chunk_size = request_options.get("chunk_size", None) if request_options is not None else None
|
221
|
+
async for _chunk in _response.aiter_bytes(chunk_size=_chunk_size):
|
220
222
|
yield _chunk
|
221
223
|
return
|
222
224
|
await _response.aread()
|
@@ -113,6 +113,9 @@ class WorkspaceSecretsClient:
|
|
113
113
|
"label": label,
|
114
114
|
"value": value,
|
115
115
|
},
|
116
|
+
headers={
|
117
|
+
"content-type": "application/json",
|
118
|
+
},
|
116
119
|
request_options=request_options,
|
117
120
|
omit=OMIT,
|
118
121
|
)
|
@@ -248,6 +251,9 @@ class AsyncWorkspaceSecretsClient:
|
|
248
251
|
"label": label,
|
249
252
|
"value": value,
|
250
253
|
},
|
254
|
+
headers={
|
255
|
+
"content-type": "application/json",
|
256
|
+
},
|
251
257
|
request_options=request_options,
|
252
258
|
omit=OMIT,
|
253
259
|
)
|
@@ -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(NodeParentContext, ApiRequestParentContext=ApiRequestParentContext)
|
36
|
-
update_forward_refs(PromptDeploymentParentContext, ApiRequestParentContext=ApiRequestParentContext)
|
37
|
-
update_forward_refs(SpanLink, ApiRequestParentContext=ApiRequestParentContext)
|
38
|
-
update_forward_refs(WorkflowDeploymentParentContext, ApiRequestParentContext=ApiRequestParentContext)
|
39
|
-
update_forward_refs(WorkflowParentContext, ApiRequestParentContext=ApiRequestParentContext)
|
40
|
-
update_forward_refs(WorkflowSandboxParentContext, ApiRequestParentContext=ApiRequestParentContext)
|
41
35
|
update_forward_refs(ApiRequestParentContext)
|
@@ -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 pydantic
|
7
6
|
import typing
|
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 ArrayInput(UniversalBaseModel):
|
@@ -31,6 +29,3 @@ class ArrayInput(UniversalBaseModel):
|
|
31
29
|
frozen = True
|
32
30
|
smart_union = True
|
33
31
|
extra = pydantic.Extra.allow
|
34
|
-
|
35
|
-
|
36
|
-
update_forward_refs(ArrayVellumValue, ArrayInput=ArrayInput)
|
@@ -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 CodeExecutionNodeArrayResult(UniversalBaseModel):
|
@@ -23,6 +21,3 @@ class CodeExecutionNodeArrayResult(UniversalBaseModel):
|
|
23
21
|
frozen = True
|
24
22
|
smart_union = True
|
25
23
|
extra = pydantic.Extra.allow
|
26
|
-
|
27
|
-
|
28
|
-
update_forward_refs(ArrayVellumValue, CodeExecutionNodeArrayResult=CodeExecutionNodeArrayResult)
|
@@ -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 .code_execution_node_result_data import CodeExecutionNodeResultData
|
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 CodeExecutionNodeResult(UniversalBaseModel):
|
@@ -26,6 +24,3 @@ class CodeExecutionNodeResult(UniversalBaseModel):
|
|
26
24
|
frozen = True
|
27
25
|
smart_union = True
|
28
26
|
extra = pydantic.Extra.allow
|
29
|
-
|
30
|
-
|
31
|
-
update_forward_refs(ArrayVellumValue, CodeExecutionNodeResult=CodeExecutionNodeResult)
|
@@ -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 .code_execution_node_result_output import CodeExecutionNodeResultOutput
|
7
6
|
import typing
|
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 CodeExecutionNodeResultData(UniversalBaseModel):
|
@@ -22,6 +20,3 @@ class CodeExecutionNodeResultData(UniversalBaseModel):
|
|
22
20
|
frozen = True
|
23
21
|
smart_union = True
|
24
22
|
extra = pydantic.Extra.allow
|
25
|
-
|
26
|
-
|
27
|
-
update_forward_refs(ArrayVellumValue, CodeExecutionNodeResultData=CodeExecutionNodeResultData)
|
@@ -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 .vellum_value import VellumValue
|
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 CodeExecutorResponse(UniversalBaseModel):
|
@@ -22,6 +20,3 @@ class CodeExecutorResponse(UniversalBaseModel):
|
|
22
20
|
frozen = True
|
23
21
|
smart_union = True
|
24
22
|
extra = pydantic.Extra.allow
|
25
|
-
|
26
|
-
|
27
|
-
update_forward_refs(ArrayVellumValue, CodeExecutorResponse=CodeExecutorResponse)
|
@@ -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 CreateTestSuiteTestCaseRequest(UniversalBaseModel):
|
@@ -43,6 +41,3 @@ class CreateTestSuiteTestCaseRequest(UniversalBaseModel):
|
|
43
41
|
frozen = True
|
44
42
|
smart_union = True
|
45
43
|
extra = pydantic.Extra.allow
|
46
|
-
|
47
|
-
|
48
|
-
update_forward_refs(ArrayVellumValueRequest, CreateTestSuiteTestCaseRequest=CreateTestSuiteTestCaseRequest)
|
@@ -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
|
@@ -8,7 +7,6 @@ import pydantic
|
|
8
7
|
import typing
|
9
8
|
from .vellum_variable import VellumVariable
|
10
9
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
11
|
-
from ..core.pydantic_utilities import update_forward_refs
|
12
10
|
|
13
11
|
|
14
12
|
class DeploymentHistoryItem(UniversalBaseModel):
|
@@ -39,6 +37,3 @@ class DeploymentHistoryItem(UniversalBaseModel):
|
|
39
37
|
frozen = True
|
40
38
|
smart_union = True
|
41
39
|
extra = pydantic.Extra.allow
|
42
|
-
|
43
|
-
|
44
|
-
update_forward_refs(ArrayVellumValue, DeploymentHistoryItem=DeploymentHistoryItem)
|
@@ -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 DeploymentRead(UniversalBaseModel):
|
@@ -68,6 +66,3 @@ class DeploymentRead(UniversalBaseModel):
|
|
68
66
|
frozen = True
|
69
67
|
smart_union = True
|
70
68
|
extra = pydantic.Extra.allow
|
71
|
-
|
72
|
-
|
73
|
-
update_forward_refs(ArrayVellumValue, DeploymentRead=DeploymentRead)
|
@@ -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 .execute_workflow_workflow_result_event import ExecuteWorkflowWorkflowResultEvent
|
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 ExecuteWorkflowResponse(UniversalBaseModel):
|
@@ -24,6 +22,3 @@ class ExecuteWorkflowResponse(UniversalBaseModel):
|
|
24
22
|
frozen = True
|
25
23
|
smart_union = True
|
26
24
|
extra = pydantic.Extra.allow
|
27
|
-
|
28
|
-
|
29
|
-
update_forward_refs(ArrayVellumValue, ExecuteWorkflowResponse=ExecuteWorkflowResponse)
|
@@ -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 pydantic
|
7
6
|
import typing
|
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 ExecutionArrayVellumValue(UniversalBaseModel):
|
@@ -32,6 +30,3 @@ class ExecutionArrayVellumValue(UniversalBaseModel):
|
|
32
30
|
frozen = True
|
33
31
|
smart_union = True
|
34
32
|
extra = pydantic.Extra.allow
|
35
|
-
|
36
|
-
|
37
|
-
update_forward_refs(ArrayVellumValue, ExecutionArrayVellumValue=ExecutionArrayVellumValue)
|
@@ -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 .named_test_case_variable_value import NamedTestCaseVariableValue
|
8
7
|
import pydantic
|
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 ExternalTestCaseExecution(UniversalBaseModel):
|
@@ -26,6 +24,3 @@ class ExternalTestCaseExecution(UniversalBaseModel):
|
|
26
24
|
frozen = True
|
27
25
|
smart_union = True
|
28
26
|
extra = pydantic.Extra.allow
|
29
|
-
|
30
|
-
|
31
|
-
update_forward_refs(ArrayVellumValue, ExternalTestCaseExecution=ExternalTestCaseExecution)
|
@@ -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
|
from .named_test_case_variable_value_request import NamedTestCaseVariableValueRequest
|
8
7
|
import pydantic
|
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 ExternalTestCaseExecutionRequest(UniversalBaseModel):
|
@@ -26,6 +24,3 @@ class ExternalTestCaseExecutionRequest(UniversalBaseModel):
|
|
26
24
|
frozen = True
|
27
25
|
smart_union = True
|
28
26
|
extra = pydantic.Extra.allow
|
29
|
-
|
30
|
-
|
31
|
-
update_forward_refs(ArrayVellumValueRequest, ExternalTestCaseExecutionRequest=ExternalTestCaseExecutionRequest)
|
@@ -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 @@ import datetime as dt
|
|
8
7
|
from .workflow_output import WorkflowOutput
|
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 FulfilledExecuteWorkflowWorkflowResultEvent(UniversalBaseModel):
|
@@ -29,8 +27,3 @@ class FulfilledExecuteWorkflowWorkflowResultEvent(UniversalBaseModel):
|
|
29
27
|
frozen = True
|
30
28
|
smart_union = True
|
31
29
|
extra = pydantic.Extra.allow
|
32
|
-
|
33
|
-
|
34
|
-
update_forward_refs(
|
35
|
-
ArrayVellumValue, FulfilledExecuteWorkflowWorkflowResultEvent=FulfilledExecuteWorkflowWorkflowResultEvent
|
36
|
-
)
|
@@ -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 FulfilledWorkflowNodeResultEvent(UniversalBaseModel):
|
@@ -35,6 +33,3 @@ class FulfilledWorkflowNodeResultEvent(UniversalBaseModel):
|
|
35
33
|
frozen = True
|
36
34
|
smart_union = True
|
37
35
|
extra = pydantic.Extra.allow
|
38
|
-
|
39
|
-
|
40
|
-
update_forward_refs(ArrayVellumValue, FulfilledWorkflowNodeResultEvent=FulfilledWorkflowNodeResultEvent)
|
@@ -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_input_variable_compiled_value import NodeInputVariableCompiledValue
|
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 InitiatedWorkflowNodeResultEvent(UniversalBaseModel):
|
@@ -34,6 +32,3 @@ class InitiatedWorkflowNodeResultEvent(UniversalBaseModel):
|
|
34
32
|
frozen = True
|
35
33
|
smart_union = True
|
36
34
|
extra = pydantic.Extra.allow
|
37
|
-
|
38
|
-
|
39
|
-
update_forward_refs(ArrayVellumValue, InitiatedWorkflowNodeResultEvent=InitiatedWorkflowNodeResultEvent)
|
@@ -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 .metadata_filter_rule_request import MetadataFilterRuleRequest
|
6
5
|
import typing
|
@@ -8,7 +7,6 @@ from .metadata_filter_rule_combinator import MetadataFilterRuleCombinator
|
|
8
7
|
from .logical_operator import LogicalOperator
|
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 MetadataFilterConfigRequest(UniversalBaseModel):
|
@@ -31,6 +29,3 @@ class MetadataFilterConfigRequest(UniversalBaseModel):
|
|
31
29
|
frozen = True
|
32
30
|
smart_union = True
|
33
31
|
extra = pydantic.Extra.allow
|
34
|
-
|
35
|
-
|
36
|
-
update_forward_refs(MetadataFilterRuleRequest, MetadataFilterConfigRequest=MetadataFilterConfigRequest)
|
@@ -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_metric_output import TestSuiteRunMetricOutput
|
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 MetricDefinitionExecution(UniversalBaseModel):
|
@@ -21,6 +19,3 @@ class MetricDefinitionExecution(UniversalBaseModel):
|
|
21
19
|
frozen = True
|
22
20
|
smart_union = True
|
23
21
|
extra = pydantic.Extra.allow
|
24
|
-
|
25
|
-
|
26
|
-
update_forward_refs(ArrayVellumValue, MetricDefinitionExecution=MetricDefinitionExecution)
|
@@ -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 pydantic
|
7
6
|
import typing
|
8
7
|
from .vellum_variable import VellumVariable
|
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 MetricDefinitionHistoryItem(UniversalBaseModel):
|
@@ -34,6 +32,3 @@ class MetricDefinitionHistoryItem(UniversalBaseModel):
|
|
34
32
|
frozen = True
|
35
33
|
smart_union = True
|
36
34
|
extra = pydantic.Extra.allow
|
37
|
-
|
38
|
-
|
39
|
-
update_forward_refs(ArrayVellumValue, MetricDefinitionHistoryItem=MetricDefinitionHistoryItem)
|
@@ -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 NamedTestCaseArrayVariableValue(UniversalBaseModel):
|
@@ -27,6 +25,3 @@ class NamedTestCaseArrayVariableValue(UniversalBaseModel):
|
|
27
25
|
frozen = True
|
28
26
|
smart_union = True
|
29
27
|
extra = pydantic.Extra.allow
|
30
|
-
|
31
|
-
|
32
|
-
update_forward_refs(ArrayVellumValue, NamedTestCaseArrayVariableValue=NamedTestCaseArrayVariableValue)
|
@@ -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
|
from .vellum_value_request import VellumValueRequest
|
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 NamedTestCaseArrayVariableValueRequest(UniversalBaseModel):
|
@@ -27,8 +25,3 @@ class NamedTestCaseArrayVariableValueRequest(UniversalBaseModel):
|
|
27
25
|
frozen = True
|
28
26
|
smart_union = True
|
29
27
|
extra = pydantic.Extra.allow
|
30
|
-
|
31
|
-
|
32
|
-
update_forward_refs(
|
33
|
-
ArrayVellumValueRequest, NamedTestCaseArrayVariableValueRequest=NamedTestCaseArrayVariableValueRequest
|
34
|
-
)
|