def getAllParameters(self): matches = self._config.getAll('PathVars') result = self._params.copy() for match in matches: assertIsType(match, dict) result = Util.mergeDictionaries(result, match) return result
def tryGetDictionary(self, fallback, *args): matches = self.getAll(*args) if len(matches) == 0: return fallback result = {} for match in matches: assertIsType(match, dict, "Unexpected type for yaml property '{0}'", self._propNameToString(args)) result = Util.mergeDictionaries(result, match) return result