Explorar el Código

Don't require data on thread remove events

Tulir Asokan hace 2 años
padre
commit
e2be3e5b16
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      mauigpapi/types/mqtt.py

+ 1 - 1
mauigpapi/types/mqtt.py

@@ -132,7 +132,7 @@ class ThreadRemoveEvent(SerializableAttrs):
 
     path: str
     op: Operation
-    data: Any
+    data: Any = None
 
 
 @dataclass(kw_only=True)