manager: support for multiple configuration files
The manager's --config
argument now support multiple configuration files paths.
- Dictionary data from the first config file are the default.
- Dictionary data from second, third, ... files are added to it in order.
- To combine two dictionary data new
data_combine()
function is used.- If the key of the second dict do not exist in the first dict, it is added to it.
- If the key exists in both dicts and the value type is a dict, take key values of both dicts and go to step 1.
- If the key exists in both dicts and the value type of at least one is not a dict -> validation error
Another improvements:
- python: utils/modeling/parsing.py:
data_combine()
function to combine multiple configuration data- it also fixed the buggy configuration changes with API
- ci:
python:run
: parallel testing with different configuration