MCPcopy Create free account
hub / github.com/FDA/openfda / set_deep

Function set_deep

scripts/generate_fields_yaml.py:66–79  ·  view source on GitHub ↗

Helper function that sets a value deep into a dictionary by passing the deep address as a '.' delimited string of keys, for instance, `a.b.c` is pointing to {'a': {'b': {'c': 'some value' }}} Please note, this is not a pure function, it mutates the object (`data`) that is p

(data, path, value)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

generateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected