Advertisement
Guest User

Untitled

a guest
Jan 19th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.36 KB | None | 0 0
  1.     def getIncludedArray(self, included):
  2.         result = {}
  3.         if not included:
  4.             return result
  5.  
  6.         for include in included:
  7.             print(included)
  8.             # result.update( {include['type'][include['id']] : include['attributes']})
  9.             # result[include['type'][include['id']]] = include['attributes']
  10.         return result
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement