vellum-workflow-server 1.2.2.post1__py3-none-any.whl → 1.2.3.post1__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.
Potentially problematic release.
This version of vellum-workflow-server might be problematic. Click here for more details.
- {vellum_workflow_server-1.2.2.post1.dist-info → vellum_workflow_server-1.2.3.post1.dist-info}/METADATA +2 -2
- {vellum_workflow_server-1.2.2.post1.dist-info → vellum_workflow_server-1.2.3.post1.dist-info}/RECORD +6 -6
- workflow_server/api/tests/test_workflow_view.py +2 -2
- workflow_server/api/workflow_view.py +13 -1
- {vellum_workflow_server-1.2.2.post1.dist-info → vellum_workflow_server-1.2.3.post1.dist-info}/WHEEL +0 -0
- {vellum_workflow_server-1.2.2.post1.dist-info → vellum_workflow_server-1.2.3.post1.dist-info}/entry_points.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: vellum-workflow-server
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.3.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.2.
|
|
32
|
+
Requires-Dist: vellum-ai (==1.2.3)
|
|
33
33
|
Description-Content-Type: text/markdown
|
|
34
34
|
|
|
35
35
|
# Vellum Workflow Runner Server
|
{vellum_workflow_server-1.2.2.post1.dist-info → vellum_workflow_server-1.2.3.post1.dist-info}/RECORD
RENAMED
|
@@ -4,9 +4,9 @@ workflow_server/api/auth_middleware.py,sha256=IlZaCiwZ5nwQqk5sYQorvOFj7lt0p1ZSSE
|
|
|
4
4
|
workflow_server/api/healthz_view.py,sha256=itiRvBDBXncrw8Kbbc73UZLwqMAhgHOR3uSre_dAfgY,404
|
|
5
5
|
workflow_server/api/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
6
|
workflow_server/api/tests/test_input_display_mapping.py,sha256=drBZqMudFyB5wgiUOcMgRXz7E7ge-Qgxbstw4E4f0zE,2211
|
|
7
|
-
workflow_server/api/tests/test_workflow_view.py,sha256=
|
|
7
|
+
workflow_server/api/tests/test_workflow_view.py,sha256=gwb53E44LBm06XHY1UwfHqKG-UfwwICh_IYPtowN_kE,19085
|
|
8
8
|
workflow_server/api/tests/test_workflow_view_stream_workflow_route.py,sha256=7q5AiBzfXX-npCrp-Da2OWk6-M1Ai8QZPDLhLlkxb34,26051
|
|
9
|
-
workflow_server/api/workflow_view.py,sha256=
|
|
9
|
+
workflow_server/api/workflow_view.py,sha256=5embr0m7UNbo9dGrr8bLd1lG9ER76WzFas8Y3qYQakg,21463
|
|
10
10
|
workflow_server/code_exec_runner.py,sha256=lBnMIorPZL8zZBye6TjeCIs06WTJM7P2HR07B1fjJJI,2533
|
|
11
11
|
workflow_server/config.py,sha256=DyTty8NrAwvtx-esM3KthnpsNh-nKdWNlovWQOgiGpg,1417
|
|
12
12
|
workflow_server/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -28,7 +28,7 @@ workflow_server/utils/tests/test_sentry_integration.py,sha256=LGmWiaLhFrx-jslrRj
|
|
|
28
28
|
workflow_server/utils/tests/test_system_utils.py,sha256=_4GwXvVvU5BrATxUEWwQIPg0bzQXMWBtiBmjP8MTxJM,4314
|
|
29
29
|
workflow_server/utils/tests/test_utils.py,sha256=qwK5Rmy3RQyjtlUrYAuGuDlBeRzZKsf1yS-y2IpUizQ,6452
|
|
30
30
|
workflow_server/utils/utils.py,sha256=Wqqn-1l2ugkGgy5paWWdt0AVxAyPMQCYcnRSSOMjXlA,4355
|
|
31
|
-
vellum_workflow_server-1.2.
|
|
32
|
-
vellum_workflow_server-1.2.
|
|
33
|
-
vellum_workflow_server-1.2.
|
|
34
|
-
vellum_workflow_server-1.2.
|
|
31
|
+
vellum_workflow_server-1.2.3.post1.dist-info/METADATA,sha256=ebrrlHVSox_l2tBLE1a__O5Adzjb9nNLnLVMjFLrV7k,2273
|
|
32
|
+
vellum_workflow_server-1.2.3.post1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
33
|
+
vellum_workflow_server-1.2.3.post1.dist-info/entry_points.txt,sha256=uB_0yPkr7YV6RhEXzvFReUM8P4OQBlVXD6TN6eb9-oc,277
|
|
34
|
+
vellum_workflow_server-1.2.3.post1.dist-info/RECORD,,
|
|
@@ -427,8 +427,8 @@ class BrokenNode(BaseNode) # Missing colon
|
|
|
427
427
|
with flask_app.test_client() as test_client:
|
|
428
428
|
response = test_client.post("/workflow/serialize", json={"files": {"broken_node.py": invalid_content}})
|
|
429
429
|
|
|
430
|
-
# THEN we should get a
|
|
431
|
-
assert response.status_code ==
|
|
430
|
+
# THEN we should get a 4xx response
|
|
431
|
+
assert response.status_code == 400
|
|
432
432
|
|
|
433
433
|
# AND the response should contain an error message
|
|
434
434
|
assert "detail" in response.json
|
|
@@ -446,7 +446,10 @@ def serialize_route() -> Response:
|
|
|
446
446
|
|
|
447
447
|
try:
|
|
448
448
|
sys.meta_path.append(virtual_finder)
|
|
449
|
-
|
|
449
|
+
try:
|
|
450
|
+
result = BaseWorkflowDisplay.serialize_module(namespace)
|
|
451
|
+
except Exception as e:
|
|
452
|
+
raise WorkflowInitializationException(str(e)) from e
|
|
450
453
|
|
|
451
454
|
return Response(
|
|
452
455
|
json.dumps(result.model_dump()),
|
|
@@ -458,6 +461,15 @@ def serialize_route() -> Response:
|
|
|
458
461
|
if virtual_finder in sys.meta_path:
|
|
459
462
|
sys.meta_path.remove(virtual_finder)
|
|
460
463
|
|
|
464
|
+
except WorkflowInitializationException as e:
|
|
465
|
+
error_message = f"Serialization failed: {str(e)}"
|
|
466
|
+
logger.warning(error_message)
|
|
467
|
+
return Response(
|
|
468
|
+
json.dumps({"detail": error_message}),
|
|
469
|
+
status=400,
|
|
470
|
+
content_type="application/json",
|
|
471
|
+
)
|
|
472
|
+
|
|
461
473
|
except Exception as e:
|
|
462
474
|
logger.exception(f"Error during serialization: {str(e)}")
|
|
463
475
|
return Response(
|
{vellum_workflow_server-1.2.2.post1.dist-info → vellum_workflow_server-1.2.3.post1.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|