first version finished

This commit is contained in:
Maxim Kurnikov
2018-07-29 18:27:46 +03:00
parent a9f215bf64
commit c180555415
59 changed files with 2118 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
from django.core.handlers.wsgi import WSGIRequest
from django.http.response import HttpResponseBase
from typing import (
Callable,
Optional,
Type,
)
class MiddlewareMixin:
def __call__(self, request: WSGIRequest) -> HttpResponseBase: ...
def __init__(self, get_response: Optional[Callable] = ...) -> None: ...
class warn_about_renamed_method:
def __call__(self, f: Callable) -> Callable: ...
def __init__(
self,
class_name: str,
old_method_name: str,
new_method_name: str,
deprecation_warning: Type[DeprecationWarning]
) -> None: ...