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

Method to_obj

stix/coa/structured_coa.py:38–41  ·  view source on GitHub ↗
(self, ns_info=None)

Source from the content-addressed store, hash-verified

36 return d
37
38 def to_obj(self, ns_info=None):
39 obj = super(_BaseStructuredCOA, self).to_obj(ns_info=ns_info)
40 obj.xsi_type = self._XSI_TYPE
41 return obj
42
43# Backwards compatibility
44add_extension = stix.add_extension

Callers 3

test_negateMethod · 0.45
round_tripFunction · 0.45

Calls

no outgoing calls

Tested by 2

test_negateMethod · 0.36