Files
django-stubs/django/contrib/admindocs/middleware.pyi
Maxim Kurnikov a9f215bf64 initial commit
2018-07-29 18:12:23 +03:00

19 lines
395 B
Python

from django.core.handlers.wsgi import WSGIRequest
from django.http.response import HttpResponse
from typing import (
Any,
Callable,
Dict,
Optional,
Tuple,
)
class XViewMiddleware:
def process_view(
self,
request: WSGIRequest,
view_func: Callable,
view_args: Tuple,
view_kwargs: Dict[Any, Any]
) -> Optional[HttpResponse]: ...