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

Method build

stix/bindings/incident.py:1377–1383  ·  view source on GitHub ↗
(self, node)

Source from the content-addressed store, hash-verified

1375 for History_Item_ in self.History_Item:
1376 History_Item_.export(lwrite, level, nsmap, namespace_, name_='History_Item', pretty_print=pretty_print)
1377 def build(self, node):
1378 self.__sourcenode__ = node
1379 already_processed = set()
1380 self.buildAttributes(node, node.attrib, already_processed)
1381 for child in node:
1382 nodeName_ = Tag_pattern_.match(child.tag).groups()[-1]
1383 self.buildChildren(child, node, nodeName_)
1384 def buildAttributes(self, node, attrs, already_processed):
1385 pass
1386 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