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

Method build

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

Source from the content-addressed store, hash-verified

831 for Attack_Pattern_ in self.Attack_Pattern:
832 Attack_Pattern_.export(lwrite, level, nsmap, namespace_, name_='Attack_Pattern', pretty_print=pretty_print)
833 def build(self, node):
834 self.__sourcenode__ = node
835 already_processed = set()
836 self.buildAttributes(node, node.attrib, already_processed)
837 for child in node:
838 nodeName_ = Tag_pattern_.match(child.tag).groups()[-1]
839 self.buildChildren(child, node, nodeName_)
840 def buildAttributes(self, node, attrs, already_processed):
841 pass
842 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