Ejemplo n.º 1
0
 def __call__(self, fixed=None, preset=None, fallback=None):
     result = dogmatize(fixed or {})
     recursive_fill_in(result, self._conf)
     recursive_fill_in(result, preset or {})
     added = result.revelation()
     config_summary = ConfigSummary(added, result.modified, result.typechanges)
     config_summary.update(undogmatize(result))
     return config_summary
Ejemplo n.º 2
0
 def __call__(self, fixed=None, preset=None, fallback=None):
     result = dogmatize(fixed or {})
     result.update(preset)
     result.update(self._conf)
     added = result.revelation()
     config_summary = ConfigSummary(added, result.modified, result.typechanges)
     config_summary.update(undogmatize(result))
     return config_summary