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

Method buildChildren

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

Source from the content-addressed store, hash-verified

355 def buildAttributes(self, node, attrs, already_processed):
356 pass
357 def buildChildren(self, child_, node, nodeName_, fromsubclass_=False):
358 if nodeName_ == 'Incident':
359 from . import incident
360 obj_ = lookup_extension(child_, common_binding.IncidentBaseType).factory()
361 obj_.build(child_)
362 self.Incident.append(obj_)
363# end class IncidentsType
364
365class CoursesOfActionType(GeneratedsSuper):

Callers 1

buildMethod · 0.95

Calls 3

lookup_extensionFunction · 0.90
factoryMethod · 0.45
buildMethod · 0.45

Tested by

no test coverage detected