node_factory.py
NodeFactory
¶
A Factory to create objects of type Node.
create_node_from_data(parent, celonis, node_data)
staticmethod
¶
Creates a new Node based on nodeType
and assetType
.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
parent |
Parent Object. |
required | |
celonis |
Celonis |
Celonis Base Object. |
required |
node_data |
Dict |
Dictionary with values for keys |
required |
Returns:
Type | Description |
---|---|
BaseNode |
The respective Node Type. |