ExtensionObject¶
Canonical path: o6.ExtensionObject
ExtensionObject
¶
OPC UA ExtensionObject: the open-type carrier of a structured value.
A NodeId identifies the actual DataType, bundled with the encoded body.
o6 handles this implicitly almost everywhere: reads return the decoded
Python object from o6.ns, and writes accept that object directly.
It becomes visible where the spec itself accepts any of several structured types, such as the polymorphic detail lists of the history services, and where a client receives a value whose DataType it cannot decode.
See ExtensionObject.