d82cbd1a1ffd9122ee169ef34973b3def10b0c2a,polyaxon_schemas/polyflow/pipeline.py,PipelineConfig,get_independent_ops,#PipelineConfig#Any#,165
Before Change
def get_independent_ops(self, dag=None):
Get a list of all node in the graph with no dependencies.
dag = dag or self.dag
ops = set(six.iterkeys(dag))
dependent_nodes = {
op_downstream
for op in six.itervalues(dag)
for op_downstream in op.downstream
}
return ops - dependent_nodes
def get_orphan_ops(self, dag=None):
Get orphan ops for given dag.
dag = dag or self.dag
After Change
def get_independent_ops(self, dag=None):
Get a list of all node in the graph with no dependencies.
return dags.get_independent_ops(self.dag or dag)
def get_orphan_ops(self, dag=None):
Get orphan ops for given dag.
return dags.get_orphan_ops(dag or self.dag)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances Project Name: polyaxon/polyaxon
Commit Name: d82cbd1a1ffd9122ee169ef34973b3def10b0c2a
Time: 2019-09-19
Author: contact@polyaxon.com
File Name: polyaxon_schemas/polyflow/pipeline.py
Class Name: PipelineConfig
Method Name: get_independent_ops
Project Name: eth-cscs/reframe
Commit Name: c323ba31063d782f2beaa4fb66a4943c19018936
Time: 2019-11-20
Author: manitaras@cscs.ch
File Name: reframe/core/schedulers/slurm.py
Class Name: SlurmJob
Method Name: get_all_nodes
Project Name: eth-cscs/reframe
Commit Name: 041941a148d89b2bb2cdfab7e6372022903cf11c
Time: 2019-03-12
Author: kraushaar@cscs.ch
File Name: reframe/core/schedulers/slurm.py
Class Name: SlurmJob
Method Name: _get_nodes_by_name