SHARE
TWEET

Untitled

a guest Jan 17th, 2020 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ### load_user_in_account has two records of <class 'py2neo.matching.RelationshipMatch'>
  2. user_list = []
  3. for user in load_user_in_account:
  4.     print(user)
  5.     user_list.append(dict(user.start_node))
  6.  
  7. print(user_list)
  8. ## ABOVE prints correctly
  9. ## BELOW prints [{}, {}]
  10.  
  11. user_list = []
  12. for user in load_user_in_account:
  13.     user_list.append(dict(user.start_node))
  14.  
  15. print(user_list)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top