Total Complexity | 1 |
Total Lines | 11 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | """Defines functions that will serve as engine commands with a DataManager instance as receiver. |
||
2 | These commands should be "built" using a suitable function/decorator. |
||
3 | At runtime, their (command) arguments are the same as the function holding the business logic, minus the first argument |
||
4 | which should be a DataManager instance. |
||
5 | """ |
||
6 | |||
7 | |||
8 | # at runtime it will expect only the 'variables' argument |
||
9 | def select_variables_command(_data_manager, variables): |
||
10 | _data_manager.feature_manager.feature_configuration = variables |
||
11 |