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

Method buildAttributes

stix/bindings/incident.py:1868–1869  ·  view source on GitHub ↗
(self, node, attrs, already_processed)

Source from the content-addressed store, hash-verified

1866 nodeName_ = Tag_pattern_.match(child.tag).groups()[-1]
1867 self.buildChildren(child, node, nodeName_)
1868 def buildAttributes(self, node, attrs, already_processed):
1869 super(RelatedIndicatorsType, self).buildAttributes(node, attrs, already_processed)
1870 def buildChildren(self, child_, node, nodeName_, fromsubclass_=False):
1871 if nodeName_ == 'Related_Indicator':
1872 obj_ = stix_common_binding.RelatedIndicatorType.factory()

Callers 1

buildMethod · 0.95

Calls 1

buildAttributesMethod · 0.45

Tested by

no test coverage detected