From 2f7f901239839f5acb9b8614e813cc65e2411f69 Mon Sep 17 00:00:00 2001 From: mike cullerton Date: Thu, 30 Jun 2022 14:22:50 -0400 Subject: [PATCH] precommit with poetry --- .../services/process_instance_service.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/spiffworkflow_backend/services/process_instance_service.py b/src/spiffworkflow_backend/services/process_instance_service.py index eb93c302..7fc0fda0 100644 --- a/src/spiffworkflow_backend/services/process_instance_service.py +++ b/src/spiffworkflow_backend/services/process_instance_service.py @@ -32,7 +32,6 @@ from spiffworkflow_backend.services.process_instance_processor import ( ProcessInstanceProcessor, ) from spiffworkflow_backend.services.process_model_service import ProcessModelService -from spiffworkflow_backend.services.user_service import UserService # from SpiffWorkflow.task import TaskState # type: ignore @@ -209,7 +208,9 @@ class ProcessInstanceService: or spiff_task.task_spec.lane is None ): current_user = spiff_task.data["current_user"] - return [current_user.id,] + return [ + current_user.id, + ] # return [processor.process_instance_model.process_initiator_id] if spiff_task.task_spec.lane not in spiff_task.data: