From fe4b7e03f63581d1408bd5df389d6e22d2f5d783 Mon Sep 17 00:00:00 2001 From: lovetox Date: Wed, 3 Nov 2021 00:36:13 +0100 Subject: Structs: Inherit from NamedTuple --- nbxmpp/structs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nbxmpp/structs.py b/nbxmpp/structs.py index 0f153df..7c81080 100644 --- a/nbxmpp/structs.py +++ b/nbxmpp/structs.py @@ -146,7 +146,7 @@ class HTTPAuthData(NamedTuple): body: Optional[str] -class StanzaIDData: +class StanzaIDData(NamedTuple): id: str by: str -- cgit v1.2.3