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

Method buildChildren

stix/bindings/report.py:213–217  ·  view source on GitHub ↗
(self, child_, node, nodeName_, fromsubclass_=False)

Source from the content-addressed store, hash-verified

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()
216 obj_.build(child_)
217 self.Indicator.append(obj_)
218# end class IndicatorsType
219
220

Callers 1

buildMethod · 0.95

Calls 3

lookup_extensionFunction · 0.90
factoryMethod · 0.45
buildMethod · 0.45

Tested by

no test coverage detected