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

16 lines
454 B
Python

from django.core.handlers.wsgi import WSGIRequest
from django.http.response import HttpResponseBase
from typing import (
Callable,
Optional,
)
class SessionMiddleware:
def __init__(self, get_response: Optional[Callable] = ...) -> None: ...
def process_request(self, request: WSGIRequest) -> None: ...
def process_response(
self,
request: WSGIRequest,
response: HttpResponseBase
) -> HttpResponseBase: ...