@gen.coroutine
def TerminateAccount(client, obj_store, user_id, device_id, request):
 request['user_id'] = user_id
 (yield gen.Task(Operation.CreateAndExecute, client, user_id, device_id, 'User.TerminateAccountOperation', request))
 logging.info(('TERMINATE ACCOUNT: user: %d, device: %d' % (user_id, device_id)))
 raise gen.Return({})

@ gen . coroutine def TerminateAccount ( client , obj_store , user_id , device_id , request ) : request [ 'user_id' ] = user_id ( yield gen . Task ( Operation . CreateAndExecute , client , user_id , device_id , 'User.TerminateAccountOperation' , request ) ) logging . info ( ( 'TERMINATE ACCOUNT: user: %d, device: %d' % ( user_id , device_id ) ) ) raise gen . Return ( { } )
terminate the calling users account .