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

Function recursive_items

d4rl/rlkit/pythonplusplus.py:210–232  ·  view source on GitHub ↗

Get all (key, item) recursively in a potentially recursive dictionary. Usage: ``` x = { 'foo' : { 'bar' : 5 } } recursive_items(x) # output: # ('foo', {'bar' : 5}) # ('bar', 5) ``` :param dictionary: :return:

(dictionary)

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