from typing import Callable from django.http import HttpRequest, HttpResponse GetResponseCallable = Callable[[HttpRequest], HttpResponse]