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

Method build

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

Source from the content-addressed store, hash-verified

905 if self.Personas is not None:
906 self.Personas.export(lwrite, level, nsmap, namespace_, name_='Personas', pretty_print=pretty_print)
907 def build(self, node):
908 self.__sourcenode__ = node
909 already_processed = set()
910 self.buildAttributes(node, node.attrib, already_processed)
911 for child in node:
912 nodeName_ = Tag_pattern_.match(child.tag).groups()[-1]
913 self.buildChildren(child, node, nodeName_)
914 def buildAttributes(self, node, attrs, already_processed):
915 pass
916 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