vellum-workflow-server 1.3.0.post1__py3-none-any.whl → 1.3.1__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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vellum-workflow-server
3
- Version: 1.3.0.post1
3
+ Version: 1.3.1
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.3.0)
32
+ Requires-Dist: vellum-ai (==1.3.1)
33
33
  Description-Content-Type: text/markdown
34
34
 
35
35
  # Vellum Workflow Runner Server
@@ -12,7 +12,7 @@ workflow_server/config.py,sha256=DyTty8NrAwvtx-esM3KthnpsNh-nKdWNlovWQOgiGpg,141
12
12
  workflow_server/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
13
  workflow_server/core/cancel_workflow.py,sha256=Ffkc3mzmrdMEUcD-sHfEhX4IwVrka-E--SxKA1dUfIU,2185
14
14
  workflow_server/core/events.py,sha256=24MA66DVQuaLJJcZrS8IL1Zq4Ohi9CoouKZ5VgoH3Cs,1402
15
- workflow_server/core/executor.py,sha256=gi4UEvcYLWYo4-mLK5ahnSpmoiW9ryRoVSA8My43D90,17995
15
+ workflow_server/core/executor.py,sha256=XRYvyFo8YQd3Kb1mBWlD42drKmnTIUinN_4hNvd5wMw,18107
16
16
  workflow_server/core/utils.py,sha256=lgzxkAEjEXPxGXXQlUYTYuCdHht-eDJJmHj5AhEb3_o,1500
17
17
  workflow_server/core/workflow_executor_context.py,sha256=w3OhV_AXpgh7AxpjEsc0vo-IJypgJcgr5DXJCqGptOU,1587
18
18
  workflow_server/server.py,sha256=QBU12AaAfAgLqfCDBd24qIJl_mbheiq0-hfcWV7rZM4,1234
@@ -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.3.0.post1.dist-info/METADATA,sha256=6NSSJ__ieybPIuDg2voOmsY7RXVkF2dhLjk0B-3IxTU,2273
32
- vellum_workflow_server-1.3.0.post1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
33
- vellum_workflow_server-1.3.0.post1.dist-info/entry_points.txt,sha256=uB_0yPkr7YV6RhEXzvFReUM8P4OQBlVXD6TN6eb9-oc,277
34
- vellum_workflow_server-1.3.0.post1.dist-info/RECORD,,
31
+ vellum_workflow_server-1.3.1.dist-info/METADATA,sha256=AKgLU_SJOCefRUjhFUhmzGspWgC-CiIrRgX7ouX5xbw,2267
32
+ vellum_workflow_server-1.3.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
33
+ vellum_workflow_server-1.3.1.dist-info/entry_points.txt,sha256=uB_0yPkr7YV6RhEXzvFReUM8P4OQBlVXD6TN6eb9-oc,277
34
+ vellum_workflow_server-1.3.1.dist-info/RECORD,,
@@ -15,6 +15,7 @@ from uuid import UUID, uuid4
15
15
  from typing import Any, Callable, Generator, Iterator, Optional, Tuple, Type
16
16
 
17
17
  from pebble import concurrent
18
+ from vellum_ee.workflows.display.utils.events import event_enricher
18
19
  from vellum_ee.workflows.display.workflows import BaseWorkflowDisplay
19
20
  from vellum_ee.workflows.server.virtual_file_loader import VirtualFileFinder
20
21
 
@@ -406,7 +407,7 @@ def _get_file_namespace(executor_context: BaseExecutorContext) -> str:
406
407
 
407
408
  def _dump_event(event: BaseEvent, executor_context: BaseExecutorContext) -> dict:
408
409
  module_base = executor_context.module.split(".")
409
- dump = event.model_dump(mode="json")
410
+ dump = event.model_dump(mode="json", context={"event_enricher": event_enricher})
410
411
  if dump["name"] in {
411
412
  "workflow.execution.initiated",
412
413
  "workflow.execution.fulfilled",