5 lines
201 B
Python
5 lines
201 B
Python
def import_features(config_dict):
|
|
for feature, feature_val in config_dict.items():
|
|
if feature.startswith('FEATURE_'):
|
|
feature_name = feature[8:]
|
|
globals()[feature_name] = feature_val
|