Node
datapizza.type.Node
Class representing a node in a document graph.
__init__
Initialize a Node object.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
children
|
list[Node] | None
|
List of child nodes |
None
|
metadata
|
dict | None
|
Dictionary of metadata |
None
|
content
|
str | None
|
Content object for leaf nodes |
None
|