From 304ee66b4925001c5b86098ba1b8f63134498d09 Mon Sep 17 00:00:00 2001 From: burnettk Date: Tue, 18 Oct 2022 16:34:37 -0400 Subject: [PATCH] lint --- src/spiffworkflow_backend/services/file_system_service.py | 4 +--- .../services/process_instance_processor.py | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/spiffworkflow_backend/services/file_system_service.py b/src/spiffworkflow_backend/services/file_system_service.py index d5f3128a..3b23ce1b 100644 --- a/src/spiffworkflow_backend/services/file_system_service.py +++ b/src/spiffworkflow_backend/services/file_system_service.py @@ -54,9 +54,7 @@ class FileSystemService: @staticmethod def process_group_path_for_spec(spec: ProcessModelInfo) -> str: """Category_path_for_spec.""" - return FileSystemService.process_group_path( - spec.process_group_id - ) + return FileSystemService.process_group_path(spec.process_group_id) @staticmethod def workflow_path(spec: ProcessModelInfo) -> str: diff --git a/src/spiffworkflow_backend/services/process_instance_processor.py b/src/spiffworkflow_backend/services/process_instance_processor.py index 19695b1b..eac605ce 100644 --- a/src/spiffworkflow_backend/services/process_instance_processor.py +++ b/src/spiffworkflow_backend/services/process_instance_processor.py @@ -53,6 +53,7 @@ from SpiffWorkflow.spiff.serializer import UserTaskConverter from SpiffWorkflow.task import Task as SpiffTask # type: ignore from SpiffWorkflow.task import TaskState from SpiffWorkflow.util.deep_merge import DeepMerge # type: ignore + from spiffworkflow_backend.models.active_task import ActiveTaskModel from spiffworkflow_backend.models.bpmn_process_id_lookup import BpmnProcessIdLookup from spiffworkflow_backend.models.file import File