def get_environment(arguments): tags = Tags.get_tags(arguments) env = Dict.compose_prefix_dicts(Platform.PLATFORM, _DEFAULTS) for tag in tags or []: for k, v in TAGS.get(tag, {}).items(): env[k] = '%s %s' % (env[k], v) return env
def computeMapValue(self, config, key): return Dict.compose(*Dict.get_items_with_prefix(config, DICT))[key]