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

Method build

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

Source from the content-addressed store, hash-verified

98 if self.Non_Public_Data_Compromised is not None:
99 self.Non_Public_Data_Compromised.export(lwrite, level, nsmap, namespace_, name_='Non_Public_Data_Compromised', pretty_print=pretty_print)
100 def build(self, node):
101 self.__sourcenode__ = node
102 already_processed = set()
103 self.buildAttributes(node, node.attrib, already_processed)
104 for child in node:
105 nodeName_ = Tag_pattern_.match(child.tag).groups()[-1]
106 self.buildChildren(child, node, nodeName_)
107 def buildAttributes(self, node, attrs, already_processed):
108 pass
109 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