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

Method build

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

Source from the content-addressed store, hash-verified

1233 for Related_TTP_ in self.Related_TTP:
1234 Related_TTP_.export(lwrite, level, nsmap, namespace_, name_='Related_TTP', pretty_print=pretty_print)
1235 def build(self, node):
1236 self.__sourcenode__ = node
1237 already_processed = set()
1238 self.buildAttributes(node, node.attrib, already_processed)
1239 for child in node:
1240 nodeName_ = Tag_pattern_.match(child.tag).groups()[-1]
1241 self.buildChildren(child, node, nodeName_)
1242 def buildAttributes(self, node, attrs, already_processed):
1243 super(RelatedTTPsType, self).buildAttributes(node, attrs, already_processed)
1244 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