@classmethod
def from_configs(cls, config):
    module = config['module']
    module_config = config.get('module_config')
    python_path = config.get('python_path')
    return cls(load_module(module, python_path).from_configs(module_config))
@classmethod
def from_configs(cls, config):
    module = config['module']
    module_config = config.get('module_config')
    python_path = config.get('python_path')
    return cls(load_module(module, python_path).from_configs(module_config))