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

Method build

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

Source from the content-addressed store, hash-verified

115 if self.Information_Source is not None:
116 self.Information_Source.export(lwrite, level, nsmap, namespace_, name_='Information_Source', pretty_print=pretty_print)
117 def build(self, node):
118 self.__sourcenode__ = node
119 already_processed = set()
120 self.buildAttributes(node, node.attrib, already_processed)
121 for child in node:
122 nodeName_ = Tag_pattern_.match(child.tag).groups()[-1]
123 self.buildChildren(child, node, nodeName_)
124 def buildAttributes(self, node, attrs, already_processed):
125 pass
126 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