Conditions | 4 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | """Basic grouped optimizer.""" |
||
12 | def generate(self): |
||
13 | for stage in self.process.nodes(): |
||
14 | self.detailed_result[str(stage)] = stage.optimization_status |
||
15 | for stage in self.process.nodes(): |
||
16 | if stage.optimization_status != OptimizationStatus.success: |
||
17 | self.summary_result = OptimizationStatus.failed |
||
18 | else: |
||
19 | self.summary_result = OptimizationStatus.success |
||
20 | |||
37 |
The coding style of this project requires that you add a docstring to this code element. Below, you find an example for methods:
If you would like to know more about docstrings, we recommend to read PEP-257: Docstring Conventions.