def _api_cancel_pp(name, output, kwargs):
 nzo_id = kwargs.get('value')
 if PostProcessor.do.cancel_pp(nzo_id):
  return report(output, keyword='', data={'status': True, 'nzo_id': nzo_id})
 else:
  return report(output, _MSG_NO_ITEM)

def _api_cancel_pp ( name , output , kwargs ) : nzo_id = kwargs . get ( 'value' ) if PostProcessor . do . cancel_pp ( nzo_id ) : return report ( output , keyword = '' , data = { 'status' : True , 'nzo_id' : nzo_id } ) else : return report ( output , _MSG_NO_ITEM )
api: accepts name .