mypy
This commit is contained in:
parent
505964c880
commit
95141a6832
|
@ -76,7 +76,7 @@ class ErrorHandlingService:
|
|||
def handle_system_notification(
|
||||
error: Union[ApiError, Exception],
|
||||
recipients: List,
|
||||
):
|
||||
) -> Response:
|
||||
message_payload = {
|
||||
'my_var': 'my_value',
|
||||
'error': error.__repr__(),
|
||||
|
|
|
@ -2160,7 +2160,7 @@ class TestProcessApi(BaseTest):
|
|||
assert process is not None
|
||||
assert process.status == "suspended"
|
||||
|
||||
def test_error_handler_system_notification(self):
|
||||
def test_error_handler_system_notification(self) -> None:
|
||||
"""Test_error_handler_system_notification."""
|
||||
# TODO: make sure the system notification process is run on exceptions
|
||||
...
|
||||
|
|
Loading…
Reference in New Issue