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

Method buildAttributes

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

Source from the content-addressed store, hash-verified

2076 nodeName_ = Tag_pattern_.match(child.tag).groups()[-1]
2077 self.buildChildren(child, node, nodeName_)
2078 def buildAttributes(self, node, attrs, already_processed):
2079 super(RelatedIncidentsType, self).buildAttributes(node, attrs, already_processed)
2080 def buildChildren(self, child_, node, nodeName_, fromsubclass_=False):
2081 if nodeName_ == 'Related_Incident':
2082 obj_ = stix_common_binding.RelatedIncidentType.factory()

Callers 1

buildMethod · 0.95

Calls 1

buildAttributesMethod · 0.45

Tested by

no test coverage detected