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

Method build

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

Source from the content-addressed store, hash-verified

996 if self.Actual_Total_Loss_Estimation is not None:
997 self.Actual_Total_Loss_Estimation.export(lwrite, level, nsmap, namespace_, name_='Actual_Total_Loss_Estimation', pretty_print=pretty_print)
998 def build(self, node):
999 self.__sourcenode__ = node
1000 already_processed = set()
1001 self.buildAttributes(node, node.attrib, already_processed)
1002 for child in node:
1003 nodeName_ = Tag_pattern_.match(child.tag).groups()[-1]
1004 self.buildChildren(child, node, nodeName_)
1005 def buildAttributes(self, node, attrs, already_processed):
1006 pass
1007 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