API
For Contributors
Find a value by key in a dictionary.
>>> dct = { >>> "A": "T", >>> "R": 3, >>> "B": { >>> "C": { >>> "D": "value" >>> } >>> } >>> } >>> find_by_key(dct, "D") "value"
data (dict) – Dict to walk through
target (str) – target key
Value data[…][target]
Any