Name¶
- class kgpy.Name(base='', parent=None)¶
Bases:
objectRepresentation of a hierarchical namespace. Names are a composition of a parent, which is also a name, and a base which is a simple string. The string representation of a name is <parent>.base, where <parent> is the parent’s string expansion.
Attributes
Base of the name, this string will appear last in the string representation
Parent string of the name, this itself also a name
Methods
__init__([base, parent])copy()Inheritance Diagram
- copy()¶
-
parent:
typing.Optional[kgpy.Name] = None¶ Parent string of the name, this itself also a name