# RelativePathElement

## class RelativePathElement( target_name, reference_type_id, is_inverse, include_subtypes, )

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

One directed reference step and target qualified name.

Construct a directed browse-path step.

Parameters:
:   - **target_name** ([*QualifiedName*](https://dev.nominal.io/instro/ref/protocols/instro.opcua.types.QualifiedName.md#instro.opcua.types.QualifiedName "instro.opcua.types.QualifiedName"))

      Target browse name.
    - **reference_type_id** ([*NodeId*](https://dev.nominal.io/instro/ref/protocols/instro.opcua.types.NodeId.md#instro.opcua.types.NodeId "instro.opcua.types.NodeId"))

      Reference type to follow.
    - **is_inverse** ([*bool*](https://docs.python.org/3/builtins/functions.html#bool "(in Python v3.15)"))

      Follow references in the inverse direction.
    - **include_subtypes** ([*bool*](https://docs.python.org/3/builtins/functions.html#bool "(in Python v3.15)"))

      Include reference-type subtypes.

Returns:
:   *RelativePathElement* – A path step.

Examples

```
>>> step = RelativePathElement(QualifiedName(0, "Objects"), NodeId("i=33"), False, True)
>>> step.include_subtypes
True
```

Attributes

| [`include_subtypes`](https://dev.nominal.io/instro/ref/protocols/instro.opcua.types.RelativePathElement.md#instro.opcua.types.RelativePathElement.include_subtypes "instro.opcua.types.RelativePathElement.include_subtypes") |  |
| --- | --- |
| [`is_inverse`](https://dev.nominal.io/instro/ref/protocols/instro.opcua.types.RelativePathElement.md#instro.opcua.types.RelativePathElement.is_inverse "instro.opcua.types.RelativePathElement.is_inverse") |  |
| [`reference_type_id`](https://dev.nominal.io/instro/ref/protocols/instro.opcua.types.RelativePathElement.md#instro.opcua.types.RelativePathElement.reference_type_id "instro.opcua.types.RelativePathElement.reference_type_id") |  |
| [`target_name`](https://dev.nominal.io/instro/ref/protocols/instro.opcua.types.RelativePathElement.md#instro.opcua.types.RelativePathElement.target_name "instro.opcua.types.RelativePathElement.target_name") |  |

### include_subtypes

### is_inverse

### reference_type_id

### target_name
