From 9acb1a2ee6ad89408f1f71c812e397a72344d072 Mon Sep 17 00:00:00 2001 From: Marcelo Trylesinski Date: Sun, 6 Nov 2022 16:47:10 +0100 Subject: [PATCH] Added missing `HTTPResponseTrailersEvent` to `ASGISendEvent` --- asgiref/typing.py | 1 + 1 file changed, 1 insertion(+) diff --git a/asgiref/typing.py b/asgiref/typing.py index aff174af..d126b006 100644 --- a/asgiref/typing.py +++ b/asgiref/typing.py @@ -210,6 +210,7 @@ class LifespanShutdownFailedEvent(TypedDict): ASGISendEvent = Union[ HTTPResponseStartEvent, HTTPResponseBodyEvent, + HTTPResponseTrailersEvent, HTTPServerPushEvent, HTTPDisconnectEvent, WebSocketAcceptEvent,