vellum-workflow-server 0.14.89__py3-none-any.whl → 0.14.89.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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vellum-workflow-server
3
- Version: 0.14.89
3
+ Version: 0.14.89.post1
4
4
  Summary:
5
5
  License: AGPL
6
6
  Requires-Python: >=3.9.0,<4
@@ -12,9 +12,9 @@ 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=RMEp2TeTQZ2X4JveNNCc2nDG9GEZ9sgQlL-nY-gUCyE,16515
15
+ workflow_server/core/executor.py,sha256=fvI6OS_oMS0GVEKZ6vCp_rlBACDA10DczG28mTcd0G4,16569
16
16
  workflow_server/core/utils.py,sha256=lgzxkAEjEXPxGXXQlUYTYuCdHht-eDJJmHj5AhEb3_o,1500
17
- workflow_server/core/workflow_executor_context.py,sha256=a-v48GJbOWUh4JIf_bNwDX-BvfKkg4xwRSPEyRVQmp4,1373
17
+ workflow_server/core/workflow_executor_context.py,sha256=kqbHDAteyeyB5-ISJKS2d3Bafm7mndhIjovCqNNnFPE,1486
18
18
  workflow_server/server.py,sha256=QBU12AaAfAgLqfCDBd24qIJl_mbheiq0-hfcWV7rZM4,1234
19
19
  workflow_server/start.py,sha256=qpIg0SgIgz8RNyc8Cu9LxyzXdOXZRv9qq3M3uSBbgD0,2180
20
20
  workflow_server/utils/__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-0.14.89.dist-info/METADATA,sha256=pyKz7BTDy0LSngv9lRujbbeIQd2L34jpn0jTq6HQgN8,2271
32
- vellum_workflow_server-0.14.89.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
33
- vellum_workflow_server-0.14.89.dist-info/entry_points.txt,sha256=uB_0yPkr7YV6RhEXzvFReUM8P4OQBlVXD6TN6eb9-oc,277
34
- vellum_workflow_server-0.14.89.dist-info/RECORD,,
31
+ vellum_workflow_server-0.14.89.post1.dist-info/METADATA,sha256=cnlmUZqQf__3fsEVAp5x4kHFajGmxt0YE8Phi9DD3X0,2277
32
+ vellum_workflow_server-0.14.89.post1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
33
+ vellum_workflow_server-0.14.89.post1.dist-info/entry_points.txt,sha256=uB_0yPkr7YV6RhEXzvFReUM8P4OQBlVXD6TN6eb9-oc,277
34
+ vellum_workflow_server-0.14.89.post1.dist-info/RECORD,,
@@ -352,6 +352,7 @@ def _create_workflow_context(executor_context: BaseExecutorContext) -> WorkflowC
352
352
  vellum_client=Vellum(
353
353
  api_key=executor_context.environment_api_key,
354
354
  environment=environment,
355
+ api_version=executor_context.api_version,
355
356
  ),
356
357
  execution_context=executor_context.execution_context,
357
358
  generated_files=executor_context.files,
@@ -3,6 +3,7 @@ from uuid import UUID
3
3
  from typing import Any, Optional
4
4
 
5
5
  from vellum.client.core import UniversalBaseModel
6
+ from vellum.client.types.api_version_enum import ApiVersionEnum
6
7
  from vellum.workflows.context import ExecutionContext
7
8
 
8
9
  DEFAULT_TIMEOUT_SECONDS = 60 * 30
@@ -14,6 +15,7 @@ class BaseExecutorContext(UniversalBaseModel):
14
15
  timeout: int = DEFAULT_TIMEOUT_SECONDS
15
16
  files: dict[str, str]
16
17
  environment_api_key: str
18
+ api_version: Optional[ApiVersionEnum] = None
17
19
  execution_id: UUID
18
20
  module: str
19
21
  execution_context: ExecutionContext = field(default_factory=ExecutionContext)