pyl w/ burnettk

This commit is contained in:
jasquat 2023-05-04 11:31:37 -04:00
parent 968a2fb186
commit 5c1d106aa8
2 changed files with 1 additions and 5 deletions

View File

@ -31,7 +31,6 @@ from spiffworkflow_backend.services.process_caller_service import ProcessCallerS
from spiffworkflow_backend.services.process_instance_processor import (
ProcessInstanceProcessor,
)
from spiffworkflow_backend.services.process_instance_service import ProcessInstanceService
from spiffworkflow_backend.services.process_model_service import ProcessModelService

View File

@ -667,10 +667,7 @@ def send_bpmn_event(
)
def _send_bpmn_event(
process_instance: ProcessInstanceModel,
body: dict
) -> Response:
def _send_bpmn_event(process_instance: ProcessInstanceModel, body: dict) -> Response:
processor = ProcessInstanceProcessor(process_instance)
processor.send_bpmn_event(body)
task = ProcessInstanceService.spiff_task_to_api_task(processor, processor.next_task())