SHARE
TWEET

Untitled

a guest May 19th, 2017 39 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         invite_details = {}
  2.         for result in results:
  3.             invite_details[result['batch_email_recipient_id']] = [result]
  4.  
  5.         be_lookup = {}
  6.         for ber_result in ber_results:
  7.             batch_email_id = ber_result['batch_email_id']
  8.             be_lookup[batch_email_id] = invite_details[ber_result['id']]
  9.             be_lookup[batch_email_id].append(ber_result)
  10.  
  11.         for be_result in be_results:
  12.             be_lookup[be_result['id']].append(be_result)
  13.  
  14.         rs = invite_details.values()
RAW Paste Data
Want to get better at Python?
Learn to code Python in 2017
Top