def _expand_config(config, defaults):
 defaults.update(config)
 return defaults

def _expand_config ( config , defaults ) : defaults . update ( config ) return defaults
completed the values of the expected config for the edge cases with the default values .