

def to_obj(self, return_obj=None, ns_info=None):
    if (not self):
        return_obj = self._binding_class()
    super(KillChainPhaseReference, self).to_obj(return_obj=return_obj, ns_info=ns_info)
    return_obj.kill_chain_id = self.kill_chain_id
    return_obj.kill_chain_name = self.kill_chain_name
    return return_obj

dataset/ETHPy150Open STIXProject/python-stix/stix/common/kill_chains/__init__.py KillChainPhaseReference.to_obj/VarMisuse@21/27 `return_obj`->`self`