RelativePathElement#
- class RelativePathElement(
- target_name,
- reference_type_id,
- is_inverse,
- include_subtypes,
Bases:
objectOne directed reference step and target qualified name.
Construct a directed browse-path step.
- Parameters:
target_name (QualifiedName)
Target browse name.
reference_type_id (NodeId)
Reference type to follow.
is_inverse (bool)
Follow references in the inverse direction.
include_subtypes (bool)
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#
- is_inverse#
- reference_type_id#
- target_name#