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

Method exportAttributes

stix/bindings/incident.py:2061–2062  ·  view source on GitHub ↗
(self, lwrite, level, already_processed, namespace_='incident:', name_='RelatedIncidentsType')

Source from the content-addressed store, hash-verified

2059 else:
2060 lwrite('/>%s' % (eol_, ))
2061 def exportAttributes(self, lwrite, level, already_processed, namespace_='incident:', name_='RelatedIncidentsType'):
2062 super(RelatedIncidentsType, self).exportAttributes(lwrite, level, already_processed, namespace_, name_='RelatedIncidentsType')
2063 def exportChildren(self, lwrite, level, nsmap, namespace_=XML_NS, name_='RelatedIncidentsType', fromsubclass_=False, pretty_print=True):
2064 super(RelatedIncidentsType, self).exportChildren(lwrite, level, nsmap, namespace_, name_, True, pretty_print=pretty_print)
2065 if pretty_print:

Callers 1

exportMethod · 0.95

Calls 1

exportAttributesMethod · 0.45

Tested by

no test coverage detected