From be100154dd6621db3e1496a400515efc7856086c Mon Sep 17 00:00:00 2001 From: Alex Vandiver Date: Fri, 26 Mar 2021 20:54:31 -0700 Subject: [PATCH] outgoing_webhook: Type do_rest_call with fewer Anys. --- zerver/lib/outgoing_webhook.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zerver/lib/outgoing_webhook.py b/zerver/lib/outgoing_webhook.py index 7e641b82e2..8c8a4af663 100644 --- a/zerver/lib/outgoing_webhook.py +++ b/zerver/lib/outgoing_webhook.py @@ -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: