WoTTsecurity / api

API and Dashboard
https://dash.wott.io
MIT License
0 stars 2 forks source link

Don't convert a dict containing empty key to a datastore.Entity. #806

Closed a-martynovich closed 4 years ago

a-martynovich commented 4 years ago

@rptrchv I just tested this on my Datastore, it doesn't work (raises the same error). Which means we can't have empty string or None as a key either in dict or in Entity. Which also means we have to convert logins: {user1: {...}, ...} to logins: [{username: 'user1', ...}, ...]

rptrchv commented 4 years ago

@a-martynovich ok