Commit b9e2af4e authored by Lennart Deters's avatar Lennart Deters Committed by oroulet

Allow ByteString Variant to be None

parent 2268ac96
...@@ -957,6 +957,7 @@ class Variant: ...@@ -957,6 +957,7 @@ class Variant:
VariantType.String, VariantType.String,
VariantType.DateTime, VariantType.DateTime,
VariantType.ExtensionObject, VariantType.ExtensionObject,
VariantType.ByteString,
): ):
raise UaError( raise UaError(
f"Non array Variant of type {self.VariantType} cannot have value None" f"Non array Variant of type {self.VariantType} cannot have value None"
......
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