Passed
Push — master ( 812b05...176334 )
by Konstantinos
02:19 queued 01:50
created

so_magic.data.built_in_data_manager_commands   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 11
rs 10
c 0
b 0
f 0
wmc 1

1 Function

Rating   Name   Duplication   Size   Complexity  
A select_variables_command() 0 2 1
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