MCPcopy Create free account
hub / github.com/apache/madlib / construct_yaml_map

Method construct_yaml_map

src/madpack/yaml/constructor.py:391–395  ·  view source on GitHub ↗
(self, node)

Source from the content-addressed store, hash-verified

389 data.extend(self.construct_sequence(node))
390
391 def construct_yaml_map(self, node):
392 data = {}
393 yield data
394 value = self.construct_mapping(node)
395 data.update(value)
396
397 def construct_yaml_object(self, node, cls):
398 data = cls.__new__(cls)

Callers

nothing calls this directly

Calls 2

construct_mappingMethod · 0.95
updateMethod · 0.80

Tested by

no test coverage detected