PathConst¶
- class dsviper.PathConst¶
Bases:
objectA class used to retreive a value from a Path.
Note: Not directly instantiable.
- components() list[PathComponent]¶
Return the list of components.
- element_info() PathElementInfo¶
Return the ElementInfo.
- encode(*, stream_codec_instancing: StreamCodecInstancing | None = None) ValueBlob¶
Return a blob that encodes the Path with a StreamTokenBinaryCodec if not specified.
- entry_key_info() PathEntryKeyInfo¶
Return the EntryKeyInfo.
- is_element_path() bool¶
Return True if the path contains Element components.
- is_entry_key_path() bool¶
Return True if the path contains Entry components.
- is_regular() bool¶
Return False if the path contains Entry components.
- is_root() bool¶
Return True if self is the root.
- last_component_value(*, encoded: bool = True) _OutputValues | None¶
Return the last component value.
- representation() str¶
Return a string representation.
- write(*, stream_writing: StreamWriting) None¶
Write a path.