python dictionary error AttributeError: ‘list’ object has no attribute ‘keys’
Perhaps you are looking to do something along these lines: Then you can do: Essentially, this is turning a list of anonymous dicts into a dict of dicts that are keys from the key ‘id’