def METHOD_NAME(self, cur_dict, path):
    deep_keys = []
    cur_keys = dict.keys(cur_dict)
    for key in cur_keys:
        if isinstance(cur_dict[key], dict):
            if len(path) > 0:
                deep_keys.extend(self.METHOD_NAME(cur_dict[key], path + '.' + key))
            else:
                deep_keys.extend(self.METHOD_NAME(cur_dict[key], key))
        else:
            if len(path) > 0:
                deep_keys.append(path + '.' + key)
            else:
                deep_keys.append(key)
    return deep_keys