From 01af2ff588ada3783ca704f83db5d3400ce112c9 Mon Sep 17 00:00:00 2001 From: Francesc Date: Mon, 9 Nov 2020 18:27:17 +0100 Subject: [PATCH] Annotate get_asgi_application (#527) --- django-stubs/core/asgi.pyi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/django-stubs/core/asgi.pyi b/django-stubs/core/asgi.pyi index 24f46e0..9641fa8 100644 --- a/django-stubs/core/asgi.pyi +++ b/django-stubs/core/asgi.pyi @@ -1 +1,3 @@ -def get_asgi_application(): ... +from django.core.handlers.asgi import ASGIHandler + +def get_asgi_application() -> ASGIHandler: ...