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

Method buildAttributes

stix/bindings/ttp.py:1552–1554  ·  view source on GitHub ↗
(self, node, attrs, already_processed)

Source from the content-addressed store, hash-verified

1550 nodeName_ = Tag_pattern_.match(child.tag).groups()[-1]
1551 self.buildChildren(child, node, nodeName_)
1552 def buildAttributes(self, node, attrs, already_processed):
1553 super(ExploitTargetsType, self).buildAttributes(node, attrs, already_processed)
1554 pass
1555 def buildChildren(self, child_, node, nodeName_, fromsubclass_=False):
1556 if nodeName_ == 'Exploit_Target':
1557 obj_ = stix_common_binding.RelatedExploitTargetType.factory()

Callers 1

buildMethod · 0.95

Calls 1

buildAttributesMethod · 0.45

Tested by

no test coverage detected