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

Method buildChildren

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

Source from the content-addressed store, hash-verified

422 def buildAttributes(self, node, attrs, already_processed):
423 pass
424 def buildChildren(self, child_, node, nodeName_, fromsubclass_=False):
425 if nodeName_ == 'Course_Of_Action':
426 from . import course_of_action
427 obj_ = lookup_extension(child_, common_binding.CourseOfActionBaseType).factory()
428 obj_.build(child_)
429 self.Course_Of_Action.append(obj_)
430# end class CoursesOfActionType
431
432class CampaignsType(GeneratedsSuper):

Callers 1

buildMethod · 0.95

Calls 3

lookup_extensionFunction · 0.90
factoryMethod · 0.45
buildMethod · 0.45

Tested by

no test coverage detected