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

Method exportChildren

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

Source from the content-addressed store, hash-verified

718 already_processed.add('priority')
719 lwrite(' priority=%s' % (quote_attrib(self.priority), ))
720 def exportChildren(self, lwrite, level, nsmap, namespace_=XML_NS, name_='COARequestedType', fromsubclass_=False, pretty_print=True):
721 super(COARequestedType, self).exportChildren(lwrite, level, nsmap, namespace_, name_, True, pretty_print=pretty_print)
722 def build(self, node):
723 self.__sourcenode__ = node
724 already_processed = set()

Callers 1

exportMethod · 0.95

Calls 1

exportChildrenMethod · 0.45

Tested by

no test coverage detected