

def _save_numa_topology(self, context):
    if self.numa_topology:
        context.numa_topology.instance_uuid = self.uuid
        with self.numa_topology.obj_alternate_context(context):
            self.numa_topology._save()
    else:
        objects.InstanceNUMATopology.delete_by_instance_uuid(context, self.uuid)

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/objects/instance.py Instance._save_numa_topology/VarMisuse@19/27 `self`->`context`