Node#
- class Node#
Bases:
objectA server Node with retained client ownership and a path from RootFolder.
Obtain Nodes through
client.get_node(), the standard folder properties,get_child(), orchildren. Named attribute getters perform server reads and returnAttributeValue[T];node_idandbrowse_pathare local.Attributes
Read the node's
AccessLevelattribute from the server.Read the node's
AccessLevelExattribute from the server.Read the node's
AccessRestrictionsattribute from the server.Read the node's
ArrayDimensionsattribute from the server.Read the node's
BrowseNameattribute from the server.The accumulated route starting at RootFolder, without a server read.
All immediate local hierarchical children, across every page.
Read the node's
ContainsNoLoopsattribute from the server.Read the node's
DataTypeattribute from the server.Read the node's
DataTypeDefinitionattribute from the server.Read the node's
Descriptionattribute from the server.Read the node's
DisplayNameattribute from the server.Read the node's
EventNotifierattribute from the server.Read the node's
Executableattribute from the server.Read the node's
Historizingattribute from the server.Read the node's
InverseNameattribute from the server.Read the node's
IsAbstractattribute from the server.Read the node's
MinimumSamplingIntervalattribute from the server.Read the node's
NodeClassattribute from the server.The locally retained identifier; this does not query the server.
Read the node's
RolePermissionsattribute from the server.Read the node's
Symmetricattribute from the server.Read the node's
UserAccessLevelattribute from the server.Read the node's
UserExecutableattribute from the server.Read the node's
UserRolePermissionsattribute from the server.Read the node's
UserWriteMaskattribute from the server.Read the node's
Valueattribute from the server.Read the node's
ValueRankattribute from the server.Read the node's
WriteMaskattribute from the server.Methods
Read an attribute with its semantic payload and original quality metadata.
Resolve one child path and retain its accumulated route from RootFolder.
Write the Value or DisplayName attribute.
- access_level#
Read the node’s
AccessLevelattribute from the server.- Returns:
AttributeValue[AccessLevelType] – The value, status, and any timestamps for this read.
- access_level_ex#
Read the node’s
AccessLevelExattribute from the server.- Returns:
AttributeValue[AccessLevelExType] – The value, status, and any timestamps for this read.
- access_restrictions#
Read the node’s
AccessRestrictionsattribute from the server.- Returns:
AttributeValue[AccessRestrictionType] – The value, status, and any timestamps for this read.
- array_dimensions#
Read the node’s
ArrayDimensionsattribute from the server.- Returns:
AttributeValue[list[int]] – The value, status, and any timestamps for this read.
- browse_name#
Read the node’s
BrowseNameattribute from the server.- Returns:
AttributeValue[QualifiedName] – The value, status, and any timestamps for this read.
- browse_path#
The accumulated route starting at RootFolder, without a server read.
- Type:
- children#
All immediate local hierarchical children, across every page.
The client skips references to other servers and emits one
RuntimeWarning. Each page is bounded by the client decoder and any usable server array limit. A failed browse raises the original error. If Python interrupts the wait, browsing continues in the background.
- contains_no_loops#
Read the node’s
ContainsNoLoopsattribute from the server.- Returns:
AttributeValue[bool] – The value, status, and any timestamps for this read.
- data_type#
Read the node’s
DataTypeattribute from the server.- Returns:
AttributeValue[NodeId] – The value, status, and any timestamps for this read.
- data_type_definition#
Read the node’s
DataTypeDefinitionattribute from the server.- Returns:
AttributeValue[StructureDefinition | EnumDefinition] – The value, status, and any timestamps for this read.
- description#
Read the node’s
Descriptionattribute from the server.- Returns:
AttributeValue[LocalizedText] – The value, status, and any timestamps for this read.
- display_name#
Read the node’s
DisplayNameattribute from the server.- Returns:
AttributeValue[LocalizedText] – The value, status, and any timestamps for this read.
- event_notifier#
Read the node’s
EventNotifierattribute from the server.- Returns:
AttributeValue[EventNotifierType] – The value, status, and any timestamps for this read.
- executable#
Read the node’s
Executableattribute from the server.- Returns:
AttributeValue[bool] – The value, status, and any timestamps for this read.
- get_attribute(attr)#
Read an attribute with its semantic payload and original quality metadata.
- Parameters:
attr (AttributeId | int | str)
Attribute ID, or case-insensitive canonical or snake-case attribute name.
- Returns:
AttributeValue –
- The value, status, and timestamps from the server.
A conversion error raises when you access
value.
- get_child(path)#
Resolve one child path and retain its accumulated route from RootFolder.
- Parameters:
path (RelativePath | str)
Nonempty path relative to this Node.
- Returns:
Node – The single fully resolved local target.
- historizing#
Read the node’s
Historizingattribute from the server.- Returns:
AttributeValue[bool] – The value, status, and any timestamps for this read.
- inverse_name#
Read the node’s
InverseNameattribute from the server.- Returns:
AttributeValue[LocalizedText] – The value, status, and any timestamps for this read.
- is_abstract#
Read the node’s
IsAbstractattribute from the server.- Returns:
AttributeValue[bool] – The value, status, and any timestamps for this read.
- minimum_sampling_interval#
Read the node’s
MinimumSamplingIntervalattribute from the server.- Returns:
AttributeValue[timedelta] – The value, status, and any timestamps for this read.
- node_class#
Read the node’s
NodeClassattribute from the server.- Returns:
AttributeValue[NodeClass] – The value, status, and any timestamps for this read.
- role_permissions#
Read the node’s
RolePermissionsattribute from the server.- Returns:
AttributeValue[list[RolePermissionType]] – The value, status, and any timestamps for this read.
- set_attribute(attr, value, *, dtype=None)#
Write the Value or DisplayName attribute.
- Parameters:
attr (AttributeId | str | int)
Attribute ID or attribute name.
value (object)
Payload to write. DisplayName expects LocalizedText.
dtype (DataType | None)
Wire type to use instead of the default for the Python value.
Ctrl-C can interrupt the wait after submission. The write may still take effect.
- symmetric#
Read the node’s
Symmetricattribute from the server.- Returns:
AttributeValue[bool] – The value, status, and any timestamps for this read.
- user_access_level#
Read the node’s
UserAccessLevelattribute from the server.- Returns:
AttributeValue[AccessLevelType] – The value, status, and any timestamps for this read.
- user_executable#
Read the node’s
UserExecutableattribute from the server.- Returns:
AttributeValue[bool] – The value, status, and any timestamps for this read.
- user_role_permissions#
Read the node’s
UserRolePermissionsattribute from the server.- Returns:
AttributeValue[list[RolePermissionType]] – The value, status, and any timestamps for this read.
- user_write_mask#
Read the node’s
UserWriteMaskattribute from the server.- Returns:
AttributeValue[AttributeWriteMask] – The value, status, and any timestamps for this read.
- value#
Read the node’s
Valueattribute from the server.- Returns:
AttributeValue[Value] – The value, status, and any timestamps for this read.
- value_rank#
Read the node’s
ValueRankattribute from the server.- Returns:
AttributeValue[int] – The value, status, and any timestamps for this read.
- write_mask#
Read the node’s
WriteMaskattribute from the server.- Returns:
AttributeValue[AttributeWriteMask] – The value, status, and any timestamps for this read.