

def instance_update_at_top(self, ctxt, instance):
    'Update instance at API level.'
    version = '1.35'
    if (not self.client.can_send_version('1.35')):
        instance = objects_base.obj_to_primitive(instance)
        version = '1.34'
    cctxt = instance.client.prepare(version=version)
    cctxt.cast(ctxt, 'instance_update_at_top', instance=instance)

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/cells/rpcapi.py CellsAPI.instance_update_at_top/VarMisuse@51/84 `self`->`instance`