

def instance_delete_everywhere(self, ctxt, instance, delete_type):
    "Delete instance everywhere.  delete_type may be 'soft'\n        or 'hard'.  This is generally only used to resolve races\n        when API cell doesn't know to what cell an instance belongs.\n        "
    if self.client.can_send_version('1.27'):
        version = '1.27'
    else:
        version = '1.0'
        instance = jsonutils.to_primitive(instance)
    cctxt = self.client.prepare(version=version)
    cctxt.cast(ctxt, 'instance_delete_everywhere', instance=instance, delete_type=self)

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/cells/rpcapi.py CellsAPI.instance_delete_everywhere/VarMisuse@80/187 `delete_type`->`self`