mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
webhooks: Remove unused imports.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
committed by
Tim Abbott
parent
e984107966
commit
39ac378220
@@ -1,10 +1,9 @@
|
||||
# Webhooks for external integrations.
|
||||
import ujson
|
||||
from typing import Mapping, Any, Tuple, Optional
|
||||
from django.utils.translation import ugettext as _
|
||||
from django.http import HttpRequest, HttpResponse
|
||||
from zerver.decorator import api_key_only_webhook_view, return_success_on_head_request
|
||||
from zerver.lib.response import json_success, json_error
|
||||
from zerver.lib.response import json_success
|
||||
from zerver.lib.request import REQ, has_request_variables
|
||||
from zerver.lib.webhooks.common import check_send_webhook_message, \
|
||||
UnexpectedWebhookEventType
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from typing import Any, Dict, Mapping, MutableMapping, Optional, Tuple
|
||||
from typing import Any, Dict, Mapping, Optional, Tuple
|
||||
|
||||
from .exceptions import UnknownUpdateBoardAction
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
from datetime import datetime
|
||||
from typing import Any, Dict, Mapping, MutableMapping, Optional, Tuple
|
||||
from typing import Any, Dict, Mapping, Optional, Tuple
|
||||
|
||||
from .exceptions import UnknownUpdateCardAction
|
||||
|
||||
|
||||
Reference in New Issue
Block a user