vellum-workflow-server 1.2.5.post1__py3-none-any.whl → 1.3.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.

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.2.5.post1
3
+ Version: 1.3.0
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.5)
32
+ Requires-Dist: vellum-ai (==1.3.0)
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=pig2gA712R04GLjlJYJc6H7j3Is6CALyLPAXgsT-dbA,18130
15
+ workflow_server/core/executor.py,sha256=SXT3lRy56-EWcNxlvwVF5khEctXjlQZs5jrEZ2s8jNM,17994
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.2.5.post1.dist-info/METADATA,sha256=xPjeH0otMDrPRSgJ7raISq8Xj8PsxQ8AzB7-G72EWHo,2273
32
- vellum_workflow_server-1.2.5.post1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
33
- vellum_workflow_server-1.2.5.post1.dist-info/entry_points.txt,sha256=uB_0yPkr7YV6RhEXzvFReUM8P4OQBlVXD6TN6eb9-oc,277
34
- vellum_workflow_server-1.2.5.post1.dist-info/RECORD,,
31
+ vellum_workflow_server-1.3.0.dist-info/METADATA,sha256=r0ionbRvioVNt9XpgFpvvUQoHwlchpmhEsfpHF9j4kg,2267
32
+ vellum_workflow_server-1.3.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
33
+ vellum_workflow_server-1.3.0.dist-info/entry_points.txt,sha256=uB_0yPkr7YV6RhEXzvFReUM8P4OQBlVXD6TN6eb9-oc,277
34
+ vellum_workflow_server-1.3.0.dist-info/RECORD,,
@@ -48,13 +48,8 @@ from workflow_server.core.workflow_executor_context import (
48
48
  from workflow_server.utils.log_proxy import redirect_log
49
49
 
50
50
  if TYPE_CHECKING:
51
- # Imported for typing only to avoid runtime dependency issues
52
- from vellum.workflows.events.emitters.base import BaseWorkflowEmitter
51
+ from vellum.workflows.emitters.base import BaseWorkflowEmitter
53
52
 
54
- try:
55
- from vellum.workflows.events.emitters.vellum import VellumEmitter as _VellumEmitter
56
- except Exception:
57
- _VellumEmitter = None
58
53
 
59
54
  logger = logging.getLogger(__name__)
60
55
 
@@ -352,9 +347,11 @@ def _create_workflow(executor_context: WorkflowExecutorContext, namespace: str)
352
347
 
353
348
  emitters: list["BaseWorkflowEmitter"] = []
354
349
  if use_vellum_emitter:
355
- if _VellumEmitter is not None:
350
+ from vellum.workflows.emitters.vellum_emitter import VellumEmitter
351
+
352
+ if VellumEmitter is not None:
356
353
  try:
357
- emitters = [_VellumEmitter()]
354
+ emitters = [VellumEmitter()]
358
355
  except Exception:
359
356
  emitters = []
360
357
  else: