outgoing_webhook: Type do_rest_call with fewer Anys.

This commit is contained in:
Alex Vandiver 2021-03-26 20:54:31 -07:00 committed by Tim Abbott
parent a280905a89
commit be100154dd
1 changed files with 3 additions and 1 deletions

View File

@ -300,7 +300,9 @@ def process_success_response(
def do_rest_call(
base_url: str, event: Dict[str, Any], service_handler: Any
base_url: str,
event: Dict[str, Any],
service_handler: OutgoingWebhookServiceInterface,
) -> Optional[Response]:
"""Returns response of call if no exception occurs."""
try: