webhooks: Remove unused imports.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Anders Kaseorg
2019-02-02 14:53:55 -08:00
committed by Tim Abbott
parent e984107966
commit 39ac378220
74 changed files with 88 additions and 183 deletions

View File

@@ -1,13 +1,12 @@
import logging
import re
from functools import partial
from typing import Any, Callable, Dict, Optional
from typing import Any, Dict, Optional
from inspect import signature
from django.http import HttpRequest, HttpResponse
from zerver.decorator import api_key_only_webhook_view
from zerver.lib.request import REQ, JsonableError, has_request_variables
from zerver.lib.request import REQ, has_request_variables
from zerver.lib.response import json_success
from zerver.lib.webhooks.common import check_send_webhook_message, \
validate_extract_webhook_http_header, UnexpectedWebhookEventType