mirror of https://github.com/zulip/zulip.git
handlers: Remove duplicate type annotation.
`self._request_middleware` is already typed in the `__init__` method.
This commit is contained in:
parent
97fbcf020f
commit
a2fa1a6f25
|
@ -110,7 +110,7 @@ class AsyncDjangoHandlerBase(tornado.web.RequestHandler, base.BaseHandler): # n
|
|||
the old logic. The added advantage is that due to this our event
|
||||
system code doesn't change.
|
||||
"""
|
||||
self._request_middleware = [] # type: Optional[List[Callable[[HttpRequest], HttpResponse]]]
|
||||
self._request_middleware = []
|
||||
self._view_middleware = [] # type: List[Callable[[HttpRequest, ViewFuncT, List[str], Dict[str, Any]], Optional[HttpResponse]]]
|
||||
self._template_response_middleware = [] # type: List[Callable[[HttpRequest, HttpResponse], HttpResponse]]
|
||||
self._response_middleware = [] # type: List[Callable[[HttpRequest, HttpResponse], HttpResponse]]
|
||||
|
|
Loading…
Reference in New Issue