bsfs.graph.walk module#
- class bsfs.graph.walk.Walk(root: Nodes, path: Sequence[Predicate])#
Bases:
Hashable,CallableSyntactic sugar for Nodes to build and act on predicate paths via members.
- get(**kwargs) Any#
Alias for Nodes.get(..).
- static step(schema: Schema, node: Node, name: str) Tuple[Predicate]#
Get an predicate at node whose fragment matches name.
- property tail#
Return the node type at the end of the path.