Precommit

This commit is contained in:
mike cullerton 2023-01-11 18:12:18 -05:00
parent 1440a91efb
commit 6e3a79320e
1 changed files with 3 additions and 2 deletions

View File

@ -4,7 +4,7 @@ import json
from flask import g
from flask import current_app
from flask.wrappers import Response
from typing import Any
# from typing import Any
from typing import List
from typing import Union
@ -18,7 +18,7 @@ from spiffworkflow_backend.models.message_triggerable_process_model import (
from spiffworkflow_backend.models.process_instance import ProcessInstanceModel
from spiffworkflow_backend.models.process_instance import ProcessInstanceModelSchema
from spiffworkflow_backend.models.process_instance import ProcessInstanceStatus
from spiffworkflow_backend.services.email_service import EmailService
# from spiffworkflow_backend.services.email_service import EmailService
from spiffworkflow_backend.services.message_service import MessageService
from spiffworkflow_backend.services.process_instance_processor import (
ProcessInstanceProcessor,
@ -77,6 +77,7 @@ class ErrorHandlingService:
error: Union[ApiError, Exception],
recipients: List,
) -> Response:
"""Handle_system_notification."""
message_payload = {
'my_var': 'my_value',
'error': error.__repr__(),