module documentation
AbstractRunner is the base class for all Pipeline runner implementations.
Function | _call |
Undocumented |
Function | _collect |
Undocumented |
Function | _enumerate |
For a given Node, returns a list containing the direct parents of that Node in the given Pipeline. |
Function | _find |
Breadth-first search approach to finding the complete set of persistent ancestors of an iterable of ``Node``s. Persistent ancestors exclusively have persisted ``Dataset``s as inputs. |
Function | _has |
Check if a Node exclusively has persisted Datasets as inputs. If at least one input is a MemoryDataSet, return False. |
Function | _run |
Undocumented |
Function | _run |
Undocumented |
def _call_node_run(node:
Node
, catalog: DataCatalog
, inputs: Dict[ str, Any]
, is_async: bool
, hook_manager: PluginManager
, session_id: str
= None) -> Dict[ str, Any]
:
(source)
¶
Undocumented
def _collect_inputs_from_hook(node:
Node
, catalog: DataCatalog
, inputs: Dict[ str, Any]
, is_async: bool
, hook_manager: PluginManager
, session_id: str
= None) -> Dict[ str, Any]
:
(source)
¶
Undocumented
def _find_persistent_ancestors(pipeline:
Pipeline
, children: Iterable[ Node]
, catalog: DataCatalog
) -> Set[ Node]
:
(source)
¶
Breadth-first search approach to finding the complete set of persistent ancestors of an iterable of ``Node``s. Persistent ancestors exclusively have persisted ``Dataset``s as inputs.
Parameters | |
pipeline:Pipeline | the Pipeline to find ancestors in. |
children:Iterable[ | the iterable containing ``Node``s to find ancestors of. |
catalog:DataCatalog | the DataCatalog of the run. |
Returns | |
Set[ | A set containing first persistent ancestors of the given ``Node``s. |
Check if a Node exclusively has persisted Datasets as inputs. If at least one input is a MemoryDataSet, return False.
Parameters | |
node:Node | the Node to check the inputs of. |
catalog:DataCatalog | the DataCatalog of the run. |
Returns | |
bool | True if the Node being checked exclusively has inputs that are not MemoryDataSet, else False. |