restructure for backend/frontend separation

This commit is contained in:
2019-12-13 14:41:27 +01:00
parent 21e03fa179
commit 1cf361a891
43 changed files with 13959 additions and 0 deletions

View File

@ -0,0 +1,8 @@
def dict_from_row(row):
return dict(zip(row.keys(), row))
def dict_from_rows(rows):
outlist=[]
for row in rows:
outlist.append(dict_from_row(row))
return outlist