Philipp Hörist pushed to branch master at gajim / python-nbxmpp


Commits:
46ac9536 by lovetox at 2021-11-03T00:51:02+01:00
Structs: Fix AdHocCommand default args

- - - - -


1 changed file:

- nbxmpp/structs.py


Changes:

=====================================
nbxmpp/structs.py
=====================================
@@ -659,12 +659,12 @@ class AdHocCommand(NamedTuple):
     jid: JID
     node: Node
     name: Optional[str]
-    sessionid: Optional[str]
-    status: AdHocStatus
-    data: Node
-    actions: Set[AdHocAction]
-    default: Optional[AdHocAction]
-    notes: list[AdHocCommandNote]
+    sessionid: Optional[str] = None
+    status: Optional[AdHocStatus] = None
+    data: Optional[Node] = None
+    actions: Optional[Set[AdHocAction]] = None
+    default: Optional[AdHocAction] = None
+    notes: Optional[list[AdHocCommandNote]] = None
 
     @property
     def is_completed(self) -> bool:



View it on GitLab: 
https://dev.gajim.org/gajim/python-nbxmpp/-/commit/46ac9536d5023be5334fc7020c2c78a124085cd2

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/python-nbxmpp/-/commit/46ac9536d5023be5334fc7020c2c78a124085cd2
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
Commits@gajim.org
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to