Skip to content

Commit f36fdba

Browse files
authored
Make message header required inErrorFrame (#16)
1 parent f02dcd8 commit f36fdba

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

stompman/frames.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,7 @@ class MessageFrame:
188188

189189

190190
ErrorHeaders = TypedDict(
191-
"ErrorHeaders",
192-
{"message": NotRequired[str], "content-length": NotRequired[str], "content-type": NotRequired[str]},
191+
"ErrorHeaders", {"message": str, "content-length": NotRequired[str], "content-type": NotRequired[str]}
193192
)
194193

195194

0 commit comments

Comments
 (0)