This module implements the EONode class, which specifies the local dependencies of an EOWorkflow
- class eolearn.core.eonode.EONode(task, inputs=<factory>, name=None)
Class representing a node in EOWorkflow graph.
The object id is kept to help with serialization issues. Tasks created in different sessions have a small chance of having an id clash. For this reason all tasks of a workflow should be created in the same session.
- name: str | None = None
- uid: str
Provides node name according to the class of the contained task and a given number.
suffix_number (int) –
- Return type:
Creates a list of linearly linked nodes, suitable to construct an EOWorkflow.
Nodes depend on each other in such a way, that the node containing the task at index i is the input node for the node at index i+1. Nodes are returned in the order of execution, so the task at index j is contained in the node at index j, making it easier to construct execution arguments.
- class eolearn.core.eonode.NodeStats(node_uid, node_name, start_time, end_time, exception_info=None)
An object containing statistical info about a node execution.
node_uid (str) –
node_name (str) –
start_time (datetime) –
end_time (datetime) –
exception_info (ExceptionInfo | None) –
- node_uid: str
- node_name: str
- start_time: datetime
- end_time: datetime