# Node

## class Node

Bases: [`object`](https://docs.python.org/3/builtins/functions.html#object "(in Python v3.15)")

A server Node with retained client ownership and a path from RootFolder.

Obtain Nodes through `client.get_node()`, the standard folder properties,
`get_child()`, or `children`. Named attribute getters perform server reads
and return `AttributeValue[T]`; `node_id` and `browse_path` are local.

Attributes

| [`access_level`](https://dev.nominal.io/instro/ref/protocols/instro.opcua.Node.md#instro.opcua.Node.access_level "instro.opcua.Node.access_level") | Read the node's `AccessLevel` attribute from the server. |
| --- | --- |
| [`access_level_ex`](https://dev.nominal.io/instro/ref/protocols/instro.opcua.Node.md#instro.opcua.Node.access_level_ex "instro.opcua.Node.access_level_ex") | Read the node's `AccessLevelEx` attribute from the server. |
| [`access_restrictions`](https://dev.nominal.io/instro/ref/protocols/instro.opcua.Node.md#instro.opcua.Node.access_restrictions "instro.opcua.Node.access_restrictions") | Read the node's `AccessRestrictions` attribute from the server. |
| [`array_dimensions`](https://dev.nominal.io/instro/ref/protocols/instro.opcua.Node.md#instro.opcua.Node.array_dimensions "instro.opcua.Node.array_dimensions") | Read the node's `ArrayDimensions` attribute from the server. |
| [`browse_name`](https://dev.nominal.io/instro/ref/protocols/instro.opcua.Node.md#instro.opcua.Node.browse_name "instro.opcua.Node.browse_name") | Read the node's `BrowseName` attribute from the server. |
| [`browse_path`](https://dev.nominal.io/instro/ref/protocols/instro.opcua.Node.md#instro.opcua.Node.browse_path "instro.opcua.Node.browse_path") | The accumulated route starting at RootFolder, without a server read. |
| [`children`](https://dev.nominal.io/instro/ref/protocols/instro.opcua.Node.md#instro.opcua.Node.children "instro.opcua.Node.children") | All immediate local hierarchical children, across every page. |
| [`contains_no_loops`](https://dev.nominal.io/instro/ref/protocols/instro.opcua.Node.md#instro.opcua.Node.contains_no_loops "instro.opcua.Node.contains_no_loops") | Read the node's `ContainsNoLoops` attribute from the server. |
| [`data_type`](https://dev.nominal.io/instro/ref/protocols/instro.opcua.Node.md#instro.opcua.Node.data_type "instro.opcua.Node.data_type") | Read the node's `DataType` attribute from the server. |
| [`data_type_definition`](https://dev.nominal.io/instro/ref/protocols/instro.opcua.Node.md#instro.opcua.Node.data_type_definition "instro.opcua.Node.data_type_definition") | Read the node's `DataTypeDefinition` attribute from the server. |
| [`description`](https://dev.nominal.io/instro/ref/protocols/instro.opcua.Node.md#instro.opcua.Node.description "instro.opcua.Node.description") | Read the node's `Description` attribute from the server. |
| [`display_name`](https://dev.nominal.io/instro/ref/protocols/instro.opcua.Node.md#instro.opcua.Node.display_name "instro.opcua.Node.display_name") | Read the node's `DisplayName` attribute from the server. |
| [`event_notifier`](https://dev.nominal.io/instro/ref/protocols/instro.opcua.Node.md#instro.opcua.Node.event_notifier "instro.opcua.Node.event_notifier") | Read the node's `EventNotifier` attribute from the server. |
| [`executable`](https://dev.nominal.io/instro/ref/protocols/instro.opcua.Node.md#instro.opcua.Node.executable "instro.opcua.Node.executable") | Read the node's `Executable` attribute from the server. |
| [`historizing`](https://dev.nominal.io/instro/ref/protocols/instro.opcua.Node.md#instro.opcua.Node.historizing "instro.opcua.Node.historizing") | Read the node's `Historizing` attribute from the server. |
| [`inverse_name`](https://dev.nominal.io/instro/ref/protocols/instro.opcua.Node.md#instro.opcua.Node.inverse_name "instro.opcua.Node.inverse_name") | Read the node's `InverseName` attribute from the server. |
| [`is_abstract`](https://dev.nominal.io/instro/ref/protocols/instro.opcua.Node.md#instro.opcua.Node.is_abstract "instro.opcua.Node.is_abstract") | Read the node's `IsAbstract` attribute from the server. |
| [`minimum_sampling_interval`](https://dev.nominal.io/instro/ref/protocols/instro.opcua.Node.md#instro.opcua.Node.minimum_sampling_interval "instro.opcua.Node.minimum_sampling_interval") | Read the node's `MinimumSamplingInterval` attribute from the server. |
| [`node_class`](https://dev.nominal.io/instro/ref/protocols/instro.opcua.Node.md#instro.opcua.Node.node_class "instro.opcua.Node.node_class") | Read the node's `NodeClass` attribute from the server. |
| [`node_id`](https://dev.nominal.io/instro/ref/protocols/instro.opcua.Node.md#instro.opcua.Node.node_id "instro.opcua.Node.node_id") | The locally retained identifier; this does not query the server. |
| [`role_permissions`](https://dev.nominal.io/instro/ref/protocols/instro.opcua.Node.md#instro.opcua.Node.role_permissions "instro.opcua.Node.role_permissions") | Read the node's `RolePermissions` attribute from the server. |
| [`symmetric`](https://dev.nominal.io/instro/ref/protocols/instro.opcua.Node.md#instro.opcua.Node.symmetric "instro.opcua.Node.symmetric") | Read the node's `Symmetric` attribute from the server. |
| [`user_access_level`](https://dev.nominal.io/instro/ref/protocols/instro.opcua.Node.md#instro.opcua.Node.user_access_level "instro.opcua.Node.user_access_level") | Read the node's `UserAccessLevel` attribute from the server. |
| [`user_executable`](https://dev.nominal.io/instro/ref/protocols/instro.opcua.Node.md#instro.opcua.Node.user_executable "instro.opcua.Node.user_executable") | Read the node's `UserExecutable` attribute from the server. |
| [`user_role_permissions`](https://dev.nominal.io/instro/ref/protocols/instro.opcua.Node.md#instro.opcua.Node.user_role_permissions "instro.opcua.Node.user_role_permissions") | Read the node's `UserRolePermissions` attribute from the server. |
| [`user_write_mask`](https://dev.nominal.io/instro/ref/protocols/instro.opcua.Node.md#instro.opcua.Node.user_write_mask "instro.opcua.Node.user_write_mask") | Read the node's `UserWriteMask` attribute from the server. |
| [`value`](https://dev.nominal.io/instro/ref/protocols/instro.opcua.Node.md#instro.opcua.Node.value "instro.opcua.Node.value") | Read the node's `Value` attribute from the server. |
| [`value_rank`](https://dev.nominal.io/instro/ref/protocols/instro.opcua.Node.md#instro.opcua.Node.value_rank "instro.opcua.Node.value_rank") | Read the node's `ValueRank` attribute from the server. |
| [`write_mask`](https://dev.nominal.io/instro/ref/protocols/instro.opcua.Node.md#instro.opcua.Node.write_mask "instro.opcua.Node.write_mask") | Read the node's `WriteMask` attribute from the server. |

Methods

| [`get_attribute`](https://dev.nominal.io/instro/ref/protocols/instro.opcua.Node.md#instro.opcua.Node.get_attribute "instro.opcua.Node.get_attribute") | Read an attribute with its semantic payload and original quality metadata. |
| --- | --- |
| [`get_child`](https://dev.nominal.io/instro/ref/protocols/instro.opcua.Node.md#instro.opcua.Node.get_child "instro.opcua.Node.get_child") | Resolve one child path and retain its accumulated route from RootFolder. |
| [`set_attribute`](https://dev.nominal.io/instro/ref/protocols/instro.opcua.Node.md#instro.opcua.Node.set_attribute "instro.opcua.Node.set_attribute") | Write the Value or DisplayName attribute. |

### access_level

Read the node’s `AccessLevel` attribute from the server.

Returns:
:   *AttributeValue[AccessLevelType]* – The value, status, and any timestamps for this read.

### access_level_ex

Read the node’s `AccessLevelEx` attribute from the server.

Returns:
:   *AttributeValue[AccessLevelExType]* – The value, status, and any timestamps for this read.

### access_restrictions

Read the node’s `AccessRestrictions` attribute from the server.

Returns:
:   *AttributeValue[AccessRestrictionType]* – The value, status, and any timestamps for this read.

### array_dimensions

Read the node’s `ArrayDimensions` attribute from the server.

Returns:
:   *AttributeValue[list[int]]* – The value, status, and any timestamps for this read.

### browse_name

Read the node’s `BrowseName` attribute 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:
:   [*BrowsePath*](https://dev.nominal.io/instro/ref/protocols/instro.opcua.types.BrowsePath.md#instro.opcua.types.BrowsePath "instro.opcua.types.BrowsePath")

### 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.

Type:
:   [*list*](https://docs.python.org/3/builtins/stdtypes.html#list "(in Python v3.15)")[[*Node*](https://dev.nominal.io/instro/ref/protocols/instro.opcua.Node.md#instro.opcua.Node "instro.opcua.Node")]

### contains_no_loops

Read the node’s `ContainsNoLoops` attribute from the server.

Returns:
:   *AttributeValue[bool]* – The value, status, and any timestamps for this read.

### data_type

Read the node’s `DataType` attribute from the server.

Returns:
:   *AttributeValue[NodeId]* – The value, status, and any timestamps for this read.

### data_type_definition

Read the node’s `DataTypeDefinition` attribute from the server.

Returns:
:   *AttributeValue[StructureDefinition | EnumDefinition]* – The value, status, and any timestamps for this read.

### description

Read the node’s `Description` attribute from the server.

Returns:
:   *AttributeValue[LocalizedText]* – The value, status, and any timestamps for this read.

### display_name

Read the node’s `DisplayName` attribute from the server.

Returns:
:   *AttributeValue[LocalizedText]* – The value, status, and any timestamps for this read.

### event_notifier

Read the node’s `EventNotifier` attribute from the server.

Returns:
:   *AttributeValue[EventNotifierType]* – The value, status, and any timestamps for this read.

### executable

Read the node’s `Executable` attribute 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*](https://dev.nominal.io/instro/ref/protocols/instro.opcua.types.AttributeId.md#instro.opcua.types.AttributeId "instro.opcua.types.AttributeId") *|* [*int*](https://docs.python.org/3/builtins/functions.html#int "(in Python v3.15)") *|* [*str*](https://docs.python.org/3/builtins/stdtypes.html#str "(in Python v3.15)"))

    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*](https://dev.nominal.io/instro/ref/protocols/instro.opcua.types.RelativePath.md#instro.opcua.types.RelativePath "instro.opcua.types.RelativePath") *|* [*str*](https://docs.python.org/3/builtins/stdtypes.html#str "(in Python v3.15)"))

    Nonempty path relative to this Node.

Returns:
:   *Node* – The single fully resolved local target.

### historizing

Read the node’s `Historizing` attribute from the server.

Returns:
:   *AttributeValue[bool]* – The value, status, and any timestamps for this read.

### inverse_name

Read the node’s `InverseName` attribute from the server.

Returns:
:   *AttributeValue[LocalizedText]* – The value, status, and any timestamps for this read.

### is_abstract

Read the node’s `IsAbstract` attribute from the server.

Returns:
:   *AttributeValue[bool]* – The value, status, and any timestamps for this read.

### minimum_sampling_interval

Read the node’s `MinimumSamplingInterval` attribute from the server.

Returns:
:   *AttributeValue[timedelta]* – The value, status, and any timestamps for this read.

### node_class

Read the node’s `NodeClass` attribute from the server.

Returns:
:   *AttributeValue[NodeClass]* – The value, status, and any timestamps for this read.

### node_id

The locally retained identifier; this does not query the server.

Type:
:   [*NodeId*](https://dev.nominal.io/instro/ref/protocols/instro.opcua.types.NodeId.md#instro.opcua.types.NodeId "instro.opcua.types.NodeId")

### role_permissions

Read the node’s `RolePermissions` attribute 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*](https://dev.nominal.io/instro/ref/protocols/instro.opcua.types.AttributeId.md#instro.opcua.types.AttributeId "instro.opcua.types.AttributeId") *|* [*str*](https://docs.python.org/3/builtins/stdtypes.html#str "(in Python v3.15)") *|* [*int*](https://docs.python.org/3/builtins/functions.html#int "(in Python v3.15)"))

      Attribute ID or attribute name.
    - **value** ([*object*](https://docs.python.org/3/builtins/functions.html#object "(in Python v3.15)"))

      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 `Symmetric` attribute from the server.

Returns:
:   *AttributeValue[bool]* – The value, status, and any timestamps for this read.

### user_access_level

Read the node’s `UserAccessLevel` attribute from the server.

Returns:
:   *AttributeValue[AccessLevelType]* – The value, status, and any timestamps for this read.

### user_executable

Read the node’s `UserExecutable` attribute from the server.

Returns:
:   *AttributeValue[bool]* – The value, status, and any timestamps for this read.

### user_role_permissions

Read the node’s `UserRolePermissions` attribute from the server.

Returns:
:   *AttributeValue[list[RolePermissionType]]* – The value, status, and any timestamps for this read.

### user_write_mask

Read the node’s `UserWriteMask` attribute from the server.

Returns:
:   *AttributeValue[AttributeWriteMask]* – The value, status, and any timestamps for this read.

### value

Read the node’s `Value` attribute from the server.

Returns:
:   *AttributeValue[Value]* – The value, status, and any timestamps for this read.

### value_rank

Read the node’s `ValueRank` attribute from the server.

Returns:
:   *AttributeValue[int]* – The value, status, and any timestamps for this read.

### write_mask

Read the node’s `WriteMask` attribute from the server.

Returns:
:   *AttributeValue[AttributeWriteMask]* – The value, status, and any timestamps for this read.
