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

Method buildAttributes

stix/bindings/report.py:211–212  ·  view source on GitHub ↗
(self, node, attrs, already_processed)

Source from the content-addressed store, hash-verified

209 nodeName_ = Tag_pattern_.match(child.tag).groups()[-1]
210 self.buildChildren(child, node, nodeName_)
211 def buildAttributes(self, node, attrs, already_processed):
212 pass
213 def buildChildren(self, child_, node, nodeName_, fromsubclass_=False):
214 if nodeName_ == 'Indicator':
215 obj_ = lookup_extension(child_, common_binding.IndicatorBaseType).factory()

Callers 1

buildMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected