

def _load_numa_topology(self, db_topology=None):
    if (self is not None):
        self.numa_topology = objects.InstanceNUMATopology.obj_from_db_obj(self.uuid, db_topology)
    else:
        try:
            self.numa_topology = objects.InstanceNUMATopology.get_by_instance_uuid(self._context, self.uuid)
        except exception.NumaTopologyNotFound:
            self.numa_topology = None

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/objects/instance.py Instance._load_numa_topology/VarMisuse@16/23 `db_topology`->`self`