MCPcopy
hub / github.com/marshmallow-code/marshmallow / get_from_dict

Function get_from_dict

tests/test_schema.py:2277–2278  ·  view source on GitHub ↗
(schema, obj, key, default=None)

Source from the content-addressed store, hash-verified

2275
2276
2277def get_from_dict(schema, obj, key, default=None):
2278 return obj.get("_" + key, default)
2279
2280
2281class TestGetAttribute:

Callers 1

get_attributeMethod · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…