Get ./bin/pyl to pass

This commit is contained in:
Jon Herron 2022-11-16 16:35:38 -05:00
parent cd70d03e83
commit 5092fc1b53

View File

@ -73,9 +73,11 @@ from spiffworkflow_backend.services.process_instance_processor import (
ProcessInstanceProcessor, ProcessInstanceProcessor,
) )
from spiffworkflow_backend.services.process_instance_report_service import ( from spiffworkflow_backend.services.process_instance_report_service import (
ProcessInstanceReportService,
ProcessInstanceReportFilter, ProcessInstanceReportFilter,
) )
from spiffworkflow_backend.services.process_instance_report_service import (
ProcessInstanceReportService,
)
from spiffworkflow_backend.services.process_instance_service import ( from spiffworkflow_backend.services.process_instance_service import (
ProcessInstanceService, ProcessInstanceService,
) )
@ -750,14 +752,16 @@ def process_instance_list(
process_status.split(",") if process_status else None, process_status.split(",") if process_status else None,
) )
else: else:
report_filter = ProcessInstanceReportService.filter_from_metadata_with_overrides( report_filter = (
process_instance_report, ProcessInstanceReportService.filter_from_metadata_with_overrides(
process_model_identifier, process_instance_report,
start_from, process_model_identifier,
start_to, start_from,
end_from, start_to,
end_to, end_from,
process_status, end_to,
process_status,
)
) )
# process_model_identifier = un_modify_modified_process_model_id(modified_process_model_identifier) # process_model_identifier = un_modify_modified_process_model_id(modified_process_model_identifier)