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

Method exportChildren

stix/bindings/incident.py:2145–2147  ·  view source on GitHub ↗
(self, lwrite, level, nsmap, namespace_=XML_NS, name_='AssetTypeType', fromsubclass_=False, pretty_print=True)

Source from the content-addressed store, hash-verified

2143 already_processed.add('count_affected')
2144 lwrite(' count_affected=%s' % (quote_attrib(self.count_affected), ))
2145 def exportChildren(self, lwrite, level, nsmap, namespace_=XML_NS, name_='AssetTypeType', fromsubclass_=False, pretty_print=True):
2146 super(AssetTypeType, self).exportChildren(lwrite, level, nsmap, namespace_, name_, True, pretty_print=pretty_print)
2147 pass
2148 def build(self, node):
2149 self.__sourcenode__ = node
2150 already_processed = set()

Callers 1

exportMethod · 0.95

Calls 1

exportChildrenMethod · 0.45

Tested by

no test coverage detected