def _set_nested_value(self, d: dict, keys: list, value: Any) -> None:
        """
        Set the value in a nested dictionary.\
        For example, for keys ['a', 'b', 'c'], it will ensure that d['a']['b'] exists
        and then set d['a']['b']['c'] = value.
        """
        for k in keys[:-1]:
            if k not in d or not isinstance(d[k], dict):
                d[k] = {}
            d = d[k]
        d[keys[-1]] = value

        Set the value in a nested dictionary.        For example, for keys ['a', 'b', 'c'], it will ensure that d['a']['b'] exists
        and then set d['a']['b']['c'] = value.
        
src/connectors/snowflake/trulens/connectors/snowflake/dao/run.py