Inherited from Interface :
supports
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__init__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|
|
|
|
root(self)
Returns:
the root of the DAG - it has no further parents |
source code
|
|
|
|
|
parent(self)
Returns:
parent of this path, '/hello/world' -> '/hello' or None if this path
is the dag's root |
source code
|
|
|
parentDeep(self)
Returns:
all parents of this path, '/hello/my/world' -> [ '/hello/my','/hello' ] |
source code
|
|
|
children(self,
predicate=<function <lambda> at 0x7f8b493d65f0>)
Returns:
list of intermediate children of path, [ child1 , child2 ] |
source code
|
|
|
childrenDeep(self,
order=1,
predicate=<function <lambda> at 0x7f8b493d66e0>)
Returns:
list of all children of path, [ child1 , child2 ] |
source code
|
|
|
isPartOf(self,
other)
Returns:
True if self is a part of other, and thus can be found in other |
source code
|
|
|
|
|
iterParents(self,
predicate=<function <lambda> at 0x7f8b493d68c0>)
Returns:
generator retrieving all parents up to the root |
source code
|
|
|
fullChildName(self,
childname)
Add the given name to the string version of our instance
:return: string with childname added like name _sep childname |
source code
|
|