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

Method buildAttributes

stix/bindings/incident.py:1938–1939  ·  view source on GitHub ↗
(self, node, attrs, already_processed)

Source from the content-addressed store, hash-verified

1936 nodeName_ = Tag_pattern_.match(child.tag).groups()[-1]
1937 self.buildChildren(child, node, nodeName_)
1938 def buildAttributes(self, node, attrs, already_processed):
1939 super(RelatedObservablesType, self).buildAttributes(node, attrs, already_processed)
1940 def buildChildren(self, child_, node, nodeName_, fromsubclass_=False):
1941 if nodeName_ == 'Related_Observable':
1942 obj_ = stix_common_binding.RelatedObservableType.factory()

Callers 1

buildMethod · 0.95

Calls 1

buildAttributesMethod · 0.45

Tested by

no test coverage detected