A few reasons, but the main one is: If you look the JsonResponse class, it's actually a composition of a Response object and it would fail the type hint.