NodeId#
- class NodeId(text)#
Bases:
objectA namespace index and numeric, string, UUID, or byte-string identifier.
Parse a native textual NodeId.
- Parameters:
text (str)
Numeric, string, Guid, or byte-string NodeId syntax.
- Returns:
NodeId – Parsed identifier.
Examples
>>> NodeId("ns=2;s=Temperature").identifier 'Temperature'
Attributes
The identifier in its corresponding Python type.
Methods
Parse a textual NodeId, equivalent to the constructor.
- static from_string(id_str)#
Parse a textual NodeId, equivalent to the constructor.
- Parameters:
id_str (str)
Native NodeId syntax.
- Returns:
NodeId – Parsed identifier.
- namespace_index#