MCPcopy Create free account
hub / github.com/DragonisCV/RAM / dict_representer

Function dict_representer

ram/utils/options.py:27–28  ·  view source on GitHub ↗
(dumper, data)

Source from the content-addressed store, hash-verified

25 _mapping_tag = yaml.resolver.BaseResolver.DEFAULT_MAPPING_TAG
26
27 def dict_representer(dumper, data):
28 return dumper.represent_dict(data.items())
29
30 def dict_constructor(loader, node):
31 return OrderedDict(loader.construct_pairs(node))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected