Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def getIncludedArray(self, included):
- result = {}
- if not included:
- return result
- for include in included:
- print(included)
- # result.update( {include['type'][include['id']] : include['attributes']})
- # result[include['type'][include['id']]] = include['attributes']
- return result
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement