From 5092fc1b535e00fcaa1f2ccacc0d47cd35677ae8 Mon Sep 17 00:00:00 2001 From: Jon Herron Date: Wed, 16 Nov 2022 16:35:38 -0500 Subject: [PATCH] Get ./bin/pyl to pass --- .../routes/process_api_blueprint.py | 22 +++++++++++-------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/spiffworkflow-backend/src/spiffworkflow_backend/routes/process_api_blueprint.py b/spiffworkflow-backend/src/spiffworkflow_backend/routes/process_api_blueprint.py index 8507f7b9..15dd7695 100644 --- a/spiffworkflow-backend/src/spiffworkflow_backend/routes/process_api_blueprint.py +++ b/spiffworkflow-backend/src/spiffworkflow_backend/routes/process_api_blueprint.py @@ -73,9 +73,11 @@ from spiffworkflow_backend.services.process_instance_processor import ( ProcessInstanceProcessor, ) from spiffworkflow_backend.services.process_instance_report_service import ( - ProcessInstanceReportService, ProcessInstanceReportFilter, ) +from spiffworkflow_backend.services.process_instance_report_service import ( + ProcessInstanceReportService, +) from spiffworkflow_backend.services.process_instance_service import ( ProcessInstanceService, ) @@ -750,14 +752,16 @@ def process_instance_list( process_status.split(",") if process_status else None, ) else: - report_filter = ProcessInstanceReportService.filter_from_metadata_with_overrides( - process_instance_report, - process_model_identifier, - start_from, - start_to, - end_from, - end_to, - process_status, + report_filter = ( + ProcessInstanceReportService.filter_from_metadata_with_overrides( + process_instance_report, + process_model_identifier, + start_from, + start_to, + end_from, + end_to, + process_status, + ) ) # process_model_identifier = un_modify_modified_process_model_id(modified_process_model_identifier)