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

Method buildChildren

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

Source from the content-addressed store, hash-verified

556 def buildAttributes(self, node, attrs, already_processed):
557 pass
558 def buildChildren(self, child_, node, nodeName_, fromsubclass_=False):
559 if nodeName_ == 'Threat_Actor':
560 from . import threat_actor
561 obj_ = lookup_extension(child_, common_binding.ThreatActorBaseType).factory()
562 obj_.build(child_)
563 self.Threat_Actor.append(obj_)
564# end class ThreatActorsType
565
566

Callers 1

buildMethod · 0.95

Calls 3

lookup_extensionFunction · 0.90
factoryMethod · 0.45
buildMethod · 0.45

Tested by

no test coverage detected