MCPcopy Create free account
hub / github.com/STIXProject/python-stix / build

Method build

stix/bindings/report.py:415–421  ·  view source on GitHub ↗
(self, node)

Source from the content-addressed store, hash-verified

413 for Course_Of_Action_ in self.Course_Of_Action:
414 Course_Of_Action_.export(lwrite, level, nsmap, namespace_, name_='Course_Of_Action', pretty_print=pretty_print)
415 def build(self, node):
416 self.__sourcenode__ = node
417 already_processed = set()
418 self.buildAttributes(node, node.attrib, already_processed)
419 for child in node:
420 nodeName_ = Tag_pattern_.match(child.tag).groups()[-1]
421 self.buildChildren(child, node, nodeName_)
422 def buildAttributes(self, node, attrs, already_processed):
423 pass
424 def buildChildren(self, child_, node, nodeName_, fromsubclass_=False):

Callers

nothing calls this directly

Calls 2

buildAttributesMethod · 0.95
buildChildrenMethod · 0.95

Tested by

no test coverage detected