Commit 46ac9536 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Structs: Fix AdHocCommand default args

parent 1550765b
Pipeline #8445 failed with stages
in 2 minutes and 38 seconds
......@@ -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
def is_completed(self) -> bool:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment