Explorar el Código

Handle IrisPayloadData without value

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

+ 1 - 1
mauigpapi/types/mqtt.py

@@ -72,7 +72,7 @@ class CommandResponse(SerializableAttrs):
 class IrisPayloadData(SerializableAttrs):
     op: Operation
     path: str
-    value: str
+    value: str = "{}"
 
 
 @dataclass(kw_only=True)