From ddb94817957292cf614d135f1db1f4ae5f124fe0 Mon Sep 17 00:00:00 2001 From: Jon Herron Date: Wed, 25 Oct 2023 13:56:24 -0400 Subject: [PATCH] Remove box type hint --- .../services/process_instance_processor.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spiffworkflow-backend/src/spiffworkflow_backend/services/process_instance_processor.py b/spiffworkflow-backend/src/spiffworkflow_backend/services/process_instance_processor.py index 170ac2c0c..6a36e38d2 100644 --- a/spiffworkflow-backend/src/spiffworkflow_backend/services/process_instance_processor.py +++ b/spiffworkflow-backend/src/spiffworkflow_backend/services/process_instance_processor.py @@ -30,7 +30,6 @@ from SpiffWorkflow.bpmn.parser.ValidationException import ValidationException # type: ignore from SpiffWorkflow.bpmn.PythonScriptEngine import PythonScriptEngine # type: ignore from SpiffWorkflow.bpmn.PythonScriptEngineEnvironment import BasePythonScriptEngineEnvironment # type: ignore -from SpiffWorkflow.bpmn.PythonScriptEngineEnvironment import Box from SpiffWorkflow.bpmn.PythonScriptEngineEnvironment import TaskDataEnvironment from SpiffWorkflow.bpmn.serializer.default.task_spec import EventConverter # type: ignore from SpiffWorkflow.bpmn.serializer.helpers.registry import DefaultRegistry # type: ignore @@ -335,7 +334,7 @@ def evaluate( def _evaluate( self, expression: str, - context: dict[str, str], + context: dict[str, Any], task: SpiffTask | None = None, external_methods: dict[str, Any] | None = None, ) -> Any: