VariableTypeNode¶
Canonical path: o6.node.VariableTypeNode
VariableTypeNode
¶
Bases: Node
Node representing an OPC UA VariableType.
The call operator defaults to the Value attribute, like
VariableNode, because a VariableType can carry a default
value for its instances.
Functions¶
__call__
¶
Read or write this VariableType's default value, or another attribute.
Identical to Node.__call__ except that the attribute
defaults to Value.
__init__
¶
Wrap an existing node. Handles come from a client, server, or browsing.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
backend
|
Any
|
The client or server backend that carries out operations. |
required |
nodeId
|
NodeIdLike
|
NodeId of the node. |
required |
browseName
|
QualifiedName
|
BrowseName of the node. |
required |
__getitem__
¶
Resolve a browse path relative to this node.
Use this where attribute access cannot reach: a BrowseName that is not a Python identifier, an ambiguous name, or a multi-step relative path.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
key
|
str | 'ns0.datatypes.RelativePath'
|
A relative-path string such as |
required |
Returns:
| Type | Description |
|---|---|
MaybeAwaitable[list[Any]]
|
Every node the path resolves to, as a list; awaitable when the owning |
MaybeAwaitable[list[Any]]
|
client or server runs on an external event loop. |
Raises:
| Type | Description |
|---|---|
KeyError
|
The path matches no node. |