vellum-workflow-server 1.1.4__tar.gz → 1.2.0.post1__tar.gz

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.

Potentially problematic release.


This version of vellum-workflow-server might be problematic. Click here for more details.

Files changed (33) hide show
  1. {vellum_workflow_server-1.1.4 → vellum_workflow_server-1.2.0.post1}/PKG-INFO +2 -2
  2. {vellum_workflow_server-1.1.4 → vellum_workflow_server-1.2.0.post1}/pyproject.toml +2 -2
  3. {vellum_workflow_server-1.1.4 → vellum_workflow_server-1.2.0.post1}/src/workflow_server/api/tests/test_workflow_view.py +29 -14
  4. {vellum_workflow_server-1.1.4 → vellum_workflow_server-1.2.0.post1}/src/workflow_server/api/workflow_view.py +1 -3
  5. {vellum_workflow_server-1.1.4 → vellum_workflow_server-1.2.0.post1}/README.md +0 -0
  6. {vellum_workflow_server-1.1.4 → vellum_workflow_server-1.2.0.post1}/src/workflow_server/__init__.py +0 -0
  7. {vellum_workflow_server-1.1.4 → vellum_workflow_server-1.2.0.post1}/src/workflow_server/api/__init__.py +0 -0
  8. {vellum_workflow_server-1.1.4 → vellum_workflow_server-1.2.0.post1}/src/workflow_server/api/auth_middleware.py +0 -0
  9. {vellum_workflow_server-1.1.4 → vellum_workflow_server-1.2.0.post1}/src/workflow_server/api/healthz_view.py +0 -0
  10. {vellum_workflow_server-1.1.4 → vellum_workflow_server-1.2.0.post1}/src/workflow_server/api/tests/__init__.py +0 -0
  11. {vellum_workflow_server-1.1.4 → vellum_workflow_server-1.2.0.post1}/src/workflow_server/api/tests/test_input_display_mapping.py +0 -0
  12. {vellum_workflow_server-1.1.4 → vellum_workflow_server-1.2.0.post1}/src/workflow_server/api/tests/test_workflow_view_stream_workflow_route.py +0 -0
  13. {vellum_workflow_server-1.1.4 → vellum_workflow_server-1.2.0.post1}/src/workflow_server/code_exec_runner.py +0 -0
  14. {vellum_workflow_server-1.1.4 → vellum_workflow_server-1.2.0.post1}/src/workflow_server/config.py +0 -0
  15. {vellum_workflow_server-1.1.4 → vellum_workflow_server-1.2.0.post1}/src/workflow_server/core/__init__.py +0 -0
  16. {vellum_workflow_server-1.1.4 → vellum_workflow_server-1.2.0.post1}/src/workflow_server/core/cancel_workflow.py +0 -0
  17. {vellum_workflow_server-1.1.4 → vellum_workflow_server-1.2.0.post1}/src/workflow_server/core/events.py +0 -0
  18. {vellum_workflow_server-1.1.4 → vellum_workflow_server-1.2.0.post1}/src/workflow_server/core/executor.py +0 -0
  19. {vellum_workflow_server-1.1.4 → vellum_workflow_server-1.2.0.post1}/src/workflow_server/core/utils.py +0 -0
  20. {vellum_workflow_server-1.1.4 → vellum_workflow_server-1.2.0.post1}/src/workflow_server/core/workflow_executor_context.py +0 -0
  21. {vellum_workflow_server-1.1.4 → vellum_workflow_server-1.2.0.post1}/src/workflow_server/server.py +0 -0
  22. {vellum_workflow_server-1.1.4 → vellum_workflow_server-1.2.0.post1}/src/workflow_server/start.py +0 -0
  23. {vellum_workflow_server-1.1.4 → vellum_workflow_server-1.2.0.post1}/src/workflow_server/utils/__init__.py +0 -0
  24. {vellum_workflow_server-1.1.4 → vellum_workflow_server-1.2.0.post1}/src/workflow_server/utils/exit_handler.py +0 -0
  25. {vellum_workflow_server-1.1.4 → vellum_workflow_server-1.2.0.post1}/src/workflow_server/utils/log_proxy.py +0 -0
  26. {vellum_workflow_server-1.1.4 → vellum_workflow_server-1.2.0.post1}/src/workflow_server/utils/oom_killer.py +0 -0
  27. {vellum_workflow_server-1.1.4 → vellum_workflow_server-1.2.0.post1}/src/workflow_server/utils/sentry.py +0 -0
  28. {vellum_workflow_server-1.1.4 → vellum_workflow_server-1.2.0.post1}/src/workflow_server/utils/system_utils.py +0 -0
  29. {vellum_workflow_server-1.1.4 → vellum_workflow_server-1.2.0.post1}/src/workflow_server/utils/tests/__init__.py +0 -0
  30. {vellum_workflow_server-1.1.4 → vellum_workflow_server-1.2.0.post1}/src/workflow_server/utils/tests/test_sentry_integration.py +0 -0
  31. {vellum_workflow_server-1.1.4 → vellum_workflow_server-1.2.0.post1}/src/workflow_server/utils/tests/test_system_utils.py +0 -0
  32. {vellum_workflow_server-1.1.4 → vellum_workflow_server-1.2.0.post1}/src/workflow_server/utils/tests/test_utils.py +0 -0
  33. {vellum_workflow_server-1.1.4 → vellum_workflow_server-1.2.0.post1}/src/workflow_server/utils/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vellum-workflow-server
3
- Version: 1.1.4
3
+ Version: 1.2.0.post1
4
4
  Summary:
5
5
  License: AGPL
6
6
  Requires-Python: >=3.9.0,<4
@@ -29,7 +29,7 @@ Requires-Dist: pyjwt (==2.10.0)
29
29
  Requires-Dist: python-dotenv (==1.0.1)
30
30
  Requires-Dist: retrying (==1.3.4)
31
31
  Requires-Dist: sentry-sdk[flask] (==2.20.0)
32
- Requires-Dist: vellum-ai (==1.1.4)
32
+ Requires-Dist: vellum-ai (==1.2.0)
33
33
  Description-Content-Type: text/markdown
34
34
 
35
35
  # Vellum Workflow Runner Server
@@ -3,7 +3,7 @@ name = "vellum-workflow-server"
3
3
 
4
4
  [tool.poetry]
5
5
  name = "vellum-workflow-server"
6
- version = "1.1.4"
6
+ version = "1.2.0.post1"
7
7
  description = ""
8
8
  readme = "README.md"
9
9
  authors = []
@@ -45,7 +45,7 @@ flask = "2.3.3"
45
45
  orderly-set = "5.2.2"
46
46
  pebble = "5.0.7"
47
47
  gunicorn = "23.0.0"
48
- vellum-ai = "1.1.4"
48
+ vellum-ai = "1.2.0"
49
49
  python-dotenv = "1.0.1"
50
50
  retrying = "1.3.4"
51
51
  sentry-sdk = {extras = ["flask"], version = "2.20.0"}
@@ -59,11 +59,11 @@ class TestNode(BaseNode):
59
59
  "base": {"module": ["vellum", "workflows", "nodes", "bases", "base"], "name": "BaseNode"},
60
60
  "definition": {"module": ["vellum_custom_nodes", "test_node"], "name": "TestNode"},
61
61
  "display_data": {
62
- "comment": {"value": "A test node for processing data."},
62
+ "comment": {"expanded": True, "value": "A test node for processing data."},
63
63
  "position": {"x": 0.0, "y": 0.0},
64
64
  },
65
65
  "id": "7a8b251d-f5ca-462a-b293-071d219460fb",
66
- "label": "TestNode",
66
+ "label": "Test Node",
67
67
  "outputs": [],
68
68
  "ports": [{"id": "a3a0eefd-45d0-4f13-8c58-a836a9f7f9ed", "name": "default", "type": "DEFAULT"}],
69
69
  "trigger": {"id": "a022e36c-9852-4772-9be3-3c6c147fd811", "merge_behavior": "AWAIT_ATTRIBUTES"},
@@ -122,9 +122,12 @@ class SomeOtherNode(BaseNode):
122
122
  "attributes": [],
123
123
  "base": {"module": ["vellum", "workflows", "nodes", "bases", "base"], "name": "BaseNode"},
124
124
  "definition": {"module": ["vellum_custom_nodes", "first_node"], "name": "SomeNode"},
125
- "display_data": {"comment": {"value": "This is Some Node."}, "position": {"x": 0.0, "y": 0.0}},
125
+ "display_data": {
126
+ "comment": {"expanded": True, "value": "This is Some Node."},
127
+ "position": {"x": 0.0, "y": 0.0},
128
+ },
126
129
  "id": "1e559c2e-db82-41f0-9ceb-5e89b0c5a0a3",
127
- "label": "SomeNode",
130
+ "label": "Some Node",
128
131
  "outputs": [],
129
132
  "ports": [{"id": "48e39e97-5fd4-471e-b4f2-51d3baf06456", "name": "default", "type": "DEFAULT"}],
130
133
  "trigger": {"id": "e3381fb7-61fc-4c46-ae8e-51fc463b6a59", "merge_behavior": "AWAIT_ATTRIBUTES"},
@@ -142,9 +145,12 @@ class SomeOtherNode(BaseNode):
142
145
  "attributes": [],
143
146
  "base": {"module": ["vellum", "workflows", "nodes", "bases", "base"], "name": "BaseNode"},
144
147
  "definition": {"module": ["vellum_custom_nodes", "second_node"], "name": "SomeOtherNode"},
145
- "display_data": {"comment": {"value": "This is Some Other Node."}, "position": {"x": 0.0, "y": 0.0}},
148
+ "display_data": {
149
+ "comment": {"expanded": True, "value": "This is Some Other Node."},
150
+ "position": {"x": 0.0, "y": 0.0},
151
+ },
146
152
  "id": "7aee541b-b245-4c8a-9137-3e4631d5100c",
147
- "label": "SomeOtherNode",
153
+ "label": "Some Other Node",
148
154
  "outputs": [],
149
155
  "ports": [{"id": "fb66b46a-d970-4bc9-83ea-70c154c57ddd", "name": "default", "type": "DEFAULT"}],
150
156
  "trigger": {"id": "13fa2714-20b3-4bc3-ab79-621a188e3bfa", "merge_behavior": "AWAIT_ATTRIBUTES"},
@@ -211,9 +217,12 @@ class HelperClass:
211
217
  "attributes": [],
212
218
  "base": {"module": ["vellum", "workflows", "nodes", "bases", "base"], "name": "BaseNode"},
213
219
  "definition": {"module": ["vellum_custom_nodes", "multiple_nodes"], "name": "ProcessingNode"},
214
- "display_data": {"comment": {"value": "Processes input data."}, "position": {"x": 0.0, "y": 0.0}},
220
+ "display_data": {
221
+ "comment": {"expanded": True, "value": "Processes input data."},
222
+ "position": {"x": 0.0, "y": 0.0},
223
+ },
215
224
  "id": "f92c09f0-0434-46cb-829d-a73f801d6343",
216
- "label": "ProcessingNode",
225
+ "label": "Processing Node",
217
226
  "outputs": [],
218
227
  "ports": [{"id": "abaa2984-b312-4491-b069-e689759f72c8", "name": "default", "type": "DEFAULT"}],
219
228
  "trigger": {"id": "35378c2b-f089-44af-ac37-efe4ea42c817", "merge_behavior": "AWAIT_ATTRIBUTES"},
@@ -226,9 +235,12 @@ class HelperClass:
226
235
  "attributes": [],
227
236
  "base": {"module": ["vellum", "workflows", "nodes", "bases", "base"], "name": "BaseNode"},
228
237
  "definition": {"module": ["vellum_custom_nodes", "multiple_nodes"], "name": "TransformationNode"},
229
- "display_data": {"comment": {"value": "Transforms data format."}, "position": {"x": 0.0, "y": 0.0}},
238
+ "display_data": {
239
+ "comment": {"expanded": True, "value": "Transforms data format."},
240
+ "position": {"x": 0.0, "y": 0.0},
241
+ },
230
242
  "id": "09ca32f7-c8f2-4469-97e5-1f288f85127a",
231
- "label": "TransformationNode",
243
+ "label": "Transformation Node",
232
244
  "outputs": [],
233
245
  "ports": [{"id": "88778117-fbfc-4b44-964b-5a4994aa2f24", "name": "default", "type": "DEFAULT"}],
234
246
  "trigger": {"id": "5d096263-7fbf-490a-83b7-e441852b5fb6", "merge_behavior": "AWAIT_ATTRIBUTES"},
@@ -289,9 +301,12 @@ class BrokenNode(BaseNode)
289
301
  "attributes": [],
290
302
  "base": {"module": ["vellum", "workflows", "nodes", "bases", "base"], "name": "BaseNode"},
291
303
  "definition": {"module": ["vellum_custom_nodes", "valid_node"], "name": "SomeNode"},
292
- "display_data": {"comment": {"value": "This is Some Node."}, "position": {"x": 0.0, "y": 0.0}},
304
+ "display_data": {
305
+ "comment": {"expanded": True, "value": "This is Some Node."},
306
+ "position": {"x": 0.0, "y": 0.0},
307
+ },
293
308
  "id": "1e559c2e-db82-41f0-9ceb-5e89b0c5a0a3",
294
- "label": "SomeNode",
309
+ "label": "Some Node",
295
310
  "outputs": [],
296
311
  "ports": [{"id": "48e39e97-5fd4-471e-b4f2-51d3baf06456", "name": "default", "type": "DEFAULT"}],
297
312
  "trigger": {"id": "e3381fb7-61fc-4c46-ae8e-51fc463b6a59", "merge_behavior": "AWAIT_ATTRIBUTES"},
@@ -368,11 +383,11 @@ class MyAdditionNode(BaseNode):
368
383
  "base": {"module": ["vellum", "workflows", "nodes", "bases", "base"], "name": "BaseNode"},
369
384
  "definition": {"module": ["vellum_custom_nodes", "addition_node"], "name": "MyAdditionNode"},
370
385
  "display_data": {
371
- "comment": {"value": "Custom node that performs simple addition."},
386
+ "comment": {"expanded": True, "value": "Custom node that performs simple addition."},
372
387
  "position": {"x": 0.0, "y": 0.0},
373
388
  },
374
389
  "id": "195cd69d-3d2d-41e4-a432-16c433cb8d34",
375
- "label": "MyAdditionNode",
390
+ "label": "My Addition Node",
376
391
  "outputs": [{"id": "3d8e40cb-2aa8-44bd-ae6a-708a9fbc4779", "name": "result", "type": "NUMBER", "value": None}],
377
392
  "ports": [{"id": "9a9e4ef6-febf-4093-a515-217bbb1373db", "name": "default", "type": "DEFAULT"}],
378
393
  "trigger": {"id": "a5298668-d808-4a45-a62e-790943948e8a", "merge_behavior": "AWAIT_ATTRIBUTES"},
@@ -25,7 +25,6 @@ from vellum_ee.workflows.server.virtual_file_loader import VirtualFileFinder
25
25
 
26
26
  from vellum.workflows.exceptions import WorkflowInitializationException
27
27
  from vellum.workflows.nodes import BaseNode
28
- from vellum.workflows.utils.names import pascal_to_title_case
29
28
  from workflow_server.config import ENABLE_PROCESS_WRAPPER, MEMORY_LIMIT_MB
30
29
  from workflow_server.core.events import (
31
30
  SPAN_ID_EVENT,
@@ -493,7 +492,6 @@ def get_version_route() -> tuple[dict, int]:
493
492
  exec_config_raw = node_display_class().serialize(WorkflowDisplayContext())
494
493
  exec_config = cast(Dict[str, Any], exec_config_raw)
495
494
  config_module = exec_config["definition"]["module"]
496
- label = exec_config["label"]
497
495
  description = (
498
496
  exec_config["display_data"]["comment"]["value"]
499
497
  if "comment" in exec_config["display_data"]
@@ -504,7 +502,7 @@ def get_version_route() -> tuple[dict, int]:
504
502
  "id": str(uuid4()),
505
503
  "module": config_module,
506
504
  "name": obj.__name__,
507
- "label": pascal_to_title_case(label),
505
+ "label": exec_config["label"],
508
506
  "description": description,
509
507
  "exec_config": exec_config,
510
508
  }