kd.kontext.GlobPath

kd.kontext.GlobPath#

class kauldron.kontext.GlobPath(
*parts: int | float | complex | slice | str | bool | None | types.EllipsisType | tuple | kauldron.kontext.path_parser.Wildcard,
)[source]

Bases: kauldron.kontext.paths.AbstractPath

Represents a string path.

set_in(
context: Any,
value: Any,
) None[source]

Set the object in the path.

property first_non_glob_parent: kauldron.kontext.paths.Path

Returns the first parent which is not a glob.

parts: tuple[Part, ...]