def _variable_substitute()

in infra/src/app_config_parser.py [0:0]


    def _variable_substitute(self, variables, value):
        # Only substitute if value is string
        if not isinstance(value, str): return value

        for variable, variable_value in variables.items():
            value_to_replace = "${{{}}}".format(variable)

            value = value.replace(value_to_replace, variable_value)

        return value