graph.nodes.core package

Submodules

graph.nodes.core.executable_node module

class graph.nodes.core.executable_node.INode[source]

Bases: ABC

abstractmethod async execute(shared_storage: KeyValueStore) KeyValueStore[source]
class graph.nodes.core.executable_node.ExecutableNode(parents: list[INode])[source]

Bases: INode, ABC

__init__(parents: list[INode])[source]
async execute(input_state: KeyValueStore = None) KeyValueStore[source]

graph.nodes.core.executable_node_test module

graph.nodes.core.inject_storage_objects module

graph.nodes.core.inject_storage_objects.inject_storage_objects(*types)[source]

graph.nodes.core.random_collection_node module

class graph.nodes.core.random_collection_node.RandomCollectionNode(value_type: type, parents, random_generator: IRandom)[source]

Bases: ExecutableNode, Generic

__init__(value_type: type, parents, random_generator: IRandom)[source]

graph.nodes.core.random_collection_node_test module

graph.nodes.core.random_table_node module

class graph.nodes.core.random_table_node.RandomTableNode(key_type: type, value_type: type, parents: list[INode], random_generator: RandomTable)[source]

Bases: ExecutableNode, Generic

__init__(key_type: type, value_type: type, parents: list[INode], random_generator: RandomTable)[source]

graph.nodes.core.random_table_node_test module

Module contents