vellum-workflow-server 1.8.6.post3__tar.gz → 1.9.0__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.
- {vellum_workflow_server-1.8.6.post3 → vellum_workflow_server-1.9.0}/PKG-INFO +2 -2
- {vellum_workflow_server-1.8.6.post3 → vellum_workflow_server-1.9.0}/pyproject.toml +2 -2
- {vellum_workflow_server-1.8.6.post3 → vellum_workflow_server-1.9.0}/src/workflow_server/api/auth_middleware.py +2 -2
- {vellum_workflow_server-1.8.6.post3 → vellum_workflow_server-1.9.0}/src/workflow_server/config.py +2 -0
- {vellum_workflow_server-1.8.6.post3 → vellum_workflow_server-1.9.0}/README.md +0 -0
- {vellum_workflow_server-1.8.6.post3 → vellum_workflow_server-1.9.0}/src/workflow_server/__init__.py +0 -0
- {vellum_workflow_server-1.8.6.post3 → vellum_workflow_server-1.9.0}/src/workflow_server/api/__init__.py +0 -0
- {vellum_workflow_server-1.8.6.post3 → vellum_workflow_server-1.9.0}/src/workflow_server/api/healthz_view.py +0 -0
- {vellum_workflow_server-1.8.6.post3 → vellum_workflow_server-1.9.0}/src/workflow_server/api/status_view.py +0 -0
- {vellum_workflow_server-1.8.6.post3 → vellum_workflow_server-1.9.0}/src/workflow_server/api/tests/__init__.py +0 -0
- {vellum_workflow_server-1.8.6.post3 → vellum_workflow_server-1.9.0}/src/workflow_server/api/tests/test_input_display_mapping.py +0 -0
- {vellum_workflow_server-1.8.6.post3 → vellum_workflow_server-1.9.0}/src/workflow_server/api/tests/test_workflow_view.py +0 -0
- {vellum_workflow_server-1.8.6.post3 → vellum_workflow_server-1.9.0}/src/workflow_server/api/tests/test_workflow_view_stream_workflow_route.py +0 -0
- {vellum_workflow_server-1.8.6.post3 → vellum_workflow_server-1.9.0}/src/workflow_server/api/workflow_view.py +0 -0
- {vellum_workflow_server-1.8.6.post3 → vellum_workflow_server-1.9.0}/src/workflow_server/code_exec_runner.py +0 -0
- {vellum_workflow_server-1.8.6.post3 → vellum_workflow_server-1.9.0}/src/workflow_server/core/__init__.py +0 -0
- {vellum_workflow_server-1.8.6.post3 → vellum_workflow_server-1.9.0}/src/workflow_server/core/cancel_workflow.py +0 -0
- {vellum_workflow_server-1.8.6.post3 → vellum_workflow_server-1.9.0}/src/workflow_server/core/events.py +0 -0
- {vellum_workflow_server-1.8.6.post3 → vellum_workflow_server-1.9.0}/src/workflow_server/core/executor.py +0 -0
- {vellum_workflow_server-1.8.6.post3 → vellum_workflow_server-1.9.0}/src/workflow_server/core/utils.py +0 -0
- {vellum_workflow_server-1.8.6.post3 → vellum_workflow_server-1.9.0}/src/workflow_server/core/workflow_executor_context.py +0 -0
- {vellum_workflow_server-1.8.6.post3 → vellum_workflow_server-1.9.0}/src/workflow_server/logging_config.py +0 -0
- {vellum_workflow_server-1.8.6.post3 → vellum_workflow_server-1.9.0}/src/workflow_server/server.py +0 -0
- {vellum_workflow_server-1.8.6.post3 → vellum_workflow_server-1.9.0}/src/workflow_server/start.py +0 -0
- {vellum_workflow_server-1.8.6.post3 → vellum_workflow_server-1.9.0}/src/workflow_server/utils/__init__.py +0 -0
- {vellum_workflow_server-1.8.6.post3 → vellum_workflow_server-1.9.0}/src/workflow_server/utils/exit_handler.py +0 -0
- {vellum_workflow_server-1.8.6.post3 → vellum_workflow_server-1.9.0}/src/workflow_server/utils/log_proxy.py +0 -0
- {vellum_workflow_server-1.8.6.post3 → vellum_workflow_server-1.9.0}/src/workflow_server/utils/oom_killer.py +0 -0
- {vellum_workflow_server-1.8.6.post3 → vellum_workflow_server-1.9.0}/src/workflow_server/utils/sentry.py +0 -0
- {vellum_workflow_server-1.8.6.post3 → vellum_workflow_server-1.9.0}/src/workflow_server/utils/system_utils.py +0 -0
- {vellum_workflow_server-1.8.6.post3 → vellum_workflow_server-1.9.0}/src/workflow_server/utils/tests/__init__.py +0 -0
- {vellum_workflow_server-1.8.6.post3 → vellum_workflow_server-1.9.0}/src/workflow_server/utils/tests/test_sentry_integration.py +0 -0
- {vellum_workflow_server-1.8.6.post3 → vellum_workflow_server-1.9.0}/src/workflow_server/utils/tests/test_system_utils.py +0 -0
- {vellum_workflow_server-1.8.6.post3 → vellum_workflow_server-1.9.0}/src/workflow_server/utils/tests/test_utils.py +0 -0
- {vellum_workflow_server-1.8.6.post3 → vellum_workflow_server-1.9.0}/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.
|
|
3
|
+
Version: 1.9.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.
|
|
32
|
+
Requires-Dist: vellum-ai (==1.9.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.
|
|
6
|
+
version = "1.9.0"
|
|
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.
|
|
48
|
+
vellum-ai = "1.9.0"
|
|
49
49
|
python-dotenv = "1.0.1"
|
|
50
50
|
retrying = "1.3.4"
|
|
51
51
|
sentry-sdk = {extras = ["flask"], version = "2.20.0"}
|
|
@@ -5,7 +5,7 @@ from flask import Flask, Request, Response
|
|
|
5
5
|
import jwt
|
|
6
6
|
from jwt import ExpiredSignatureError
|
|
7
7
|
|
|
8
|
-
from workflow_server.config import IS_VPC, NAMESPACE, VEMBDA_PUBLIC_KEY, is_development
|
|
8
|
+
from workflow_server.config import IS_ASYNC_MODE, IS_VPC, NAMESPACE, VEMBDA_PUBLIC_KEY, is_development
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
class AuthMiddleware:
|
|
@@ -15,7 +15,7 @@ class AuthMiddleware:
|
|
|
15
15
|
def __call__(self, environ: Dict[str, Any], start_response: Any) -> Any:
|
|
16
16
|
try:
|
|
17
17
|
request = Request(environ)
|
|
18
|
-
if not request.path.startswith("/healthz") and not is_development() and not IS_VPC:
|
|
18
|
+
if not request.path.startswith("/healthz") and not is_development() and not IS_VPC and not IS_ASYNC_MODE:
|
|
19
19
|
token = request.headers.get("X-Vembda-Signature")
|
|
20
20
|
if token:
|
|
21
21
|
decoded = jwt.decode(token, VEMBDA_PUBLIC_KEY, algorithms=["RS256"])
|
{vellum_workflow_server-1.8.6.post3 → vellum_workflow_server-1.9.0}/src/workflow_server/config.py
RENAMED
|
@@ -42,6 +42,8 @@ LOCAL_WORKFLOW_MODULE = os.getenv("LOCAL_WORKFLOW_MODULE")
|
|
|
42
42
|
# The deployment name to match against when using local mode so you can still run your normal workflow
|
|
43
43
|
LOCAL_DEPLOYMENT = os.getenv("LOCAL_DEPLOYMENT")
|
|
44
44
|
|
|
45
|
+
IS_ASYNC_MODE = os.getenv("IS_ASYNC_MODE", "false").lower() == "true"
|
|
46
|
+
|
|
45
47
|
|
|
46
48
|
def is_development() -> bool:
|
|
47
49
|
return os.getenv("FLASK_ENV", "local") == "local"
|
|
File without changes
|
{vellum_workflow_server-1.8.6.post3 → vellum_workflow_server-1.9.0}/src/workflow_server/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{vellum_workflow_server-1.8.6.post3 → vellum_workflow_server-1.9.0}/src/workflow_server/server.py
RENAMED
|
File without changes
|
{vellum_workflow_server-1.8.6.post3 → vellum_workflow_server-1.9.0}/src/workflow_server/start.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|