Update test.py

This commit is contained in:
ltcptgeneral 2019-03-21 15:14:24 -05:00
parent c336aa5aa9
commit 8d65590fd4

View File

@ -15,16 +15,18 @@ teams=db.collection('data').document('team-2022').collection("Central 2019").get
full=[]
tms=[]
for team in teams:
data=[]
tms.append(team.id)
reports=db.collection('data').document('team-2022').collection("Central 2019").document(team.id).collection("matches").get()
for report in reports:
data=[]
data.append(db.collection('data').document('team-2022').collection("Central 2019").document(team.id).collection("matches").document(report.id).get().to_dict())
full.append(data)
print(len(full))
#print(full)
print(full)
quant_keys = []
@ -54,7 +56,7 @@ for i in range(len(full)):
out.append(var)
print(len(out))
#print(len(out))
sorted_out = []