MCPcopy Create free account
hub / github.com/aviralkumar2907/CQL / nested_dict_to_dot_map_dict

Function nested_dict_to_dot_map_dict

d4rl/rlkit/pythonplusplus.py:80–95  ·  view source on GitHub ↗

Convert a recursive dictionary into a flat, dot-map dictionary. :param d: e.g. {'a': {'b': 2, 'c': 3}} :param parent_key: Used for recursion :return: e.g. {'a.b': 2, 'a.c': 3}

(d, parent_key='')

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected