ewokscore.engine_interface.WorkflowEngine#
- class ewokscore.engine_interface.WorkflowEngine[source]#
Bases:
ABCPython projects that provide Ewoks engines for deserializing, serializing and executing computational Ewoks graphs can implement this interface.
To make it discoverable it can be added as an entry-point the the project. For example in a pyproject.toml file:
- abstractmethod execute_graph(graph, *, inputs=None, load_options=None, varinfo=None, execinfo=None, task_options=None, outputs=None, merge_outputs=True, **execute_options)[source]#
Execute a computional Ewoks graph.
- Parameters:
graph (
TaskGraph)inputs (
Optional[List[dict]])load_options (
Optional[dict])varinfo (
Optional[dict])execinfo (
Union[Mapping,bool,str,None])task_options (
Optional[dict])outputs (
Optional[List[dict]])merge_outputs (
Optional[bool])
- Return type:
Optional[dict]