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

Method buildChildren

stix/bindings/ttp.py:990–995  ·  view source on GitHub ↗
(self, child_, node, nodeName_, fromsubclass_=False)

Source from the content-addressed store, hash-verified

988 def buildAttributes(self, node, attrs, already_processed):
989 pass
990 def buildChildren(self, child_, node, nodeName_, fromsubclass_=False):
991 if nodeName_ == 'Persona':
992 from .extensions.identity import ciq_identity_3_0
993 obj_ = lookup_extension(child_, stix_common_binding.IdentityType).factory()
994 obj_.build(child_)
995 self.Persona.append(obj_)
996# end class PersonasType
997
998class BehaviorType(GeneratedsSuper):

Callers 1

buildMethod · 0.95

Calls 3

lookup_extensionFunction · 0.90
factoryMethod · 0.45
buildMethod · 0.45

Tested by

no test coverage detected