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

Method buildAttributes

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

Source from the content-addressed store, hash-verified

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):
1245 if nodeName_ == 'Related_TTP':
1246 obj_ = stix_common_binding.RelatedTTPType.factory()

Callers 1

buildMethod · 0.95

Calls 1

buildAttributesMethod · 0.45

Tested by

no test coverage detected