vellum-ai 0.13.27__py3-none-any.whl → 0.14.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- vellum/client/core/client_wrapper.py +1 -1
- vellum/workflows/constants.py +8 -3
- vellum/workflows/descriptors/exceptions.py +2 -0
- vellum/workflows/descriptors/tests/test_utils.py +21 -0
- vellum/workflows/descriptors/utils.py +3 -3
- vellum/workflows/errors/types.py +4 -1
- vellum/workflows/expressions/accessor.py +4 -3
- vellum/workflows/expressions/begins_with.py +3 -2
- vellum/workflows/expressions/between.py +4 -3
- vellum/workflows/expressions/coalesce_expression.py +2 -2
- vellum/workflows/expressions/contains.py +10 -2
- vellum/workflows/expressions/does_not_begin_with.py +3 -2
- vellum/workflows/expressions/does_not_contain.py +6 -2
- vellum/workflows/expressions/does_not_end_with.py +3 -2
- vellum/workflows/expressions/ends_with.py +3 -2
- vellum/workflows/expressions/greater_than.py +3 -2
- vellum/workflows/expressions/greater_than_or_equal_to.py +3 -2
- vellum/workflows/expressions/in_.py +2 -1
- vellum/workflows/expressions/is_blank.py +2 -1
- vellum/workflows/expressions/is_nil.py +2 -2
- vellum/workflows/expressions/is_not_blank.py +2 -1
- vellum/workflows/expressions/is_not_nil.py +2 -2
- vellum/workflows/expressions/is_not_undefined.py +2 -2
- vellum/workflows/expressions/is_undefined.py +2 -2
- vellum/workflows/expressions/less_than.py +3 -2
- vellum/workflows/expressions/less_than_or_equal_to.py +3 -2
- vellum/workflows/expressions/not_between.py +4 -3
- vellum/workflows/expressions/not_in.py +2 -1
- vellum/workflows/nodes/bases/base.py +21 -7
- vellum/workflows/nodes/bases/tests/test_base_node.py +84 -0
- vellum/workflows/nodes/core/inline_subworkflow_node/node.py +3 -3
- vellum/workflows/nodes/core/map_node/node.py +5 -0
- vellum/workflows/nodes/core/map_node/tests/test_node.py +22 -0
- vellum/workflows/nodes/displayable/bases/api_node/node.py +8 -3
- vellum/workflows/nodes/displayable/bases/base_prompt_node/node.py +19 -9
- vellum/workflows/nodes/displayable/code_execution_node/tests/test_code_execution_node.py +68 -2
- vellum/workflows/nodes/displayable/code_execution_node/utils.py +30 -7
- vellum/workflows/outputs/base.py +21 -19
- vellum/workflows/ports/port.py +14 -5
- vellum/workflows/references/external_input.py +2 -2
- vellum/workflows/references/lazy.py +2 -2
- vellum/workflows/references/output.py +7 -7
- vellum/workflows/runner/runner.py +20 -15
- vellum/workflows/state/base.py +2 -2
- vellum/workflows/state/tests/test_state.py +7 -11
- vellum/workflows/utils/vellum_variables.py +3 -0
- vellum/workflows/workflows/base.py +20 -0
- vellum/workflows/workflows/tests/__init__.py +0 -0
- vellum/workflows/workflows/tests/test_base_workflow.py +80 -0
- {vellum_ai-0.13.27.dist-info → vellum_ai-0.14.0.dist-info}/METADATA +2 -1
- {vellum_ai-0.13.27.dist-info → vellum_ai-0.14.0.dist-info}/RECORD +57 -54
- vellum_cli/push.py +15 -1
- vellum_cli/tests/test_push.py +44 -0
- vellum_ee/workflows/display/nodes/base_node_display.py +2 -2
- {vellum_ai-0.13.27.dist-info → vellum_ai-0.14.0.dist-info}/LICENSE +0 -0
- {vellum_ai-0.13.27.dist-info → vellum_ai-0.14.0.dist-info}/WHEEL +0 -0
- {vellum_ai-0.13.27.dist-info → vellum_ai-0.14.0.dist-info}/entry_points.txt +0 -0
@@ -17,7 +17,7 @@ from typing import (
|
|
17
17
|
)
|
18
18
|
|
19
19
|
from vellum.workflows import BaseWorkflow
|
20
|
-
from vellum.workflows.constants import
|
20
|
+
from vellum.workflows.constants import undefined
|
21
21
|
from vellum.workflows.descriptors.base import BaseDescriptor
|
22
22
|
from vellum.workflows.expressions.between import BetweenExpression
|
23
23
|
from vellum.workflows.expressions.is_nil import IsNilExpression
|
@@ -134,7 +134,7 @@ class BaseNodeDisplay(Generic[NodeType], metaclass=BaseNodeDisplayMeta):
|
|
134
134
|
type = primitive_type_to_vellum_variable_type(output)
|
135
135
|
value = (
|
136
136
|
self.serialize_value(display_context, output.instance)
|
137
|
-
if output.instance is not None and output.instance !=
|
137
|
+
if output.instance is not None and output.instance != undefined
|
138
138
|
else None
|
139
139
|
)
|
140
140
|
|
File without changes
|
File without changes
|
File without changes
|