Skip to content

IndexRange

Canonical path: o6.IndexRange

IndexRange module-attribute

IndexRange = None | str | slice | tuple[slice, ...]

No range, an OPC UA index-range string, or a Python slice representation.

For example, "2:5", slice(2, 6), and (slice(2, 6),) describe the same range. A bare slice is shorthand for a one-dimensional range. Multi-dimensional range "1:3,4:6" is equivalent to (slice(1, 4), slice(4, 7)). Slice steps and open-ended slices are not supported because OPC UA NumericRange dimensions require explicit bounds. None selects the complete value.