hpcflow.sdk.core.cache.DependencyCache#

class hpcflow.sdk.core.cache.DependencyCache(run_dependencies, run_dependents, iter_run_dependencies, iter_iter_dependencies, elem_iter_dependencies, elem_elem_dependencies, elem_elem_dependents, elem_elem_dependents_rec, elements, iterations)#

Bases: object

Class to bulk-retrieve dependencies between elements, iterations, and runs.

Methods

build

Attributes

run_dependencies

run_dependents

iter_run_dependencies

iter_iter_dependencies

elem_iter_dependencies

elem_elem_dependencies

elem_elem_dependents

elem_elem_dependents_rec

elements

iterations

Parameters:
classmethod build(workflow)#
elem_elem_dependencies: Dict[int, Set]#
elem_elem_dependents: Dict[int, Set]#
elem_elem_dependents_rec: Dict[int, Set]#
elem_iter_dependencies: Dict[int, Set]#
elements: Dict#
iter_iter_dependencies: Dict[int, Set]#
iter_run_dependencies: Dict[int, Set]#
iterations: Dict#
run_dependencies: Dict[int, Set]#
run_dependents: Dict[int, Set]#