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

Method build

stix/bindings/ttp.py:1055–1061  ·  view source on GitHub ↗
(self, node)

Source from the content-addressed store, hash-verified

1053 if self.Exploits is not None:
1054 self.Exploits.export(lwrite, level, nsmap, namespace_, name_='Exploits', pretty_print=pretty_print)
1055 def build(self, node):
1056 self.__sourcenode__ = node
1057 already_processed = set()
1058 self.buildAttributes(node, node.attrib, already_processed)
1059 for child in node:
1060 nodeName_ = Tag_pattern_.match(child.tag).groups()[-1]
1061 self.buildChildren(child, node, nodeName_)
1062 def buildAttributes(self, node, attrs, already_processed):
1063 pass
1064 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