mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-09 13:35:01 +08:00
make pep561 compliant
This commit is contained in:
19
django-stubs/contrib/admindocs/middleware.pyi
Normal file
19
django-stubs/contrib/admindocs/middleware.pyi
Normal file
@@ -0,0 +1,19 @@
|
||||
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]: ...
|
||||
Reference in New Issue
Block a user