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

Method construct_python_module

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

Source from the content-addressed store, hash-verified

522 return self.find_python_name(suffix, node.start_mark)
523
524 def construct_python_module(self, suffix, node):
525 value = self.construct_scalar(node)
526 if value:
527 raise ConstructorError("while constructing a Python module", node.start_mark,
528 "expected the empty value, but found %r" % value.encode('utf-8'),
529 node.start_mark)
530 return self.find_python_module(suffix, node.start_mark)
531
532 class classobj: pass
533

Callers

nothing calls this directly

Calls 3

find_python_moduleMethod · 0.95
ConstructorErrorClass · 0.85
construct_scalarMethod · 0.45

Tested by

no test coverage detected