| Total Complexity | 1 |
| Total Lines | 10 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | """This module is responsible to define 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 which should be a DataManager instance |
||
| 4 | that is "handled" internally. |
||
| 5 | """ |
||
| 6 | |||
| 7 | # at runtime it will expect only the 'variables' argument |
||
| 8 | def select_variables_command(_data_manager, variables): |
||
| 9 | _data_manager.feature_manager.feature_configuration = variables |
||
| 10 |