Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Type get_response with a callback protocol.
Otherwise, calling `self.get_response(request)` in a subclass of `MiddlewareMixin` runs into `Invalid self argument` error. This is a workaround for python/mypy#5485. Signed-off-by: Zixuan James Li <p359101898@gmail.com>
- Loading branch information