mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-12-27 09:59:10 +00:00
Update test.py
This commit is contained in:
parent
c336aa5aa9
commit
8d65590fd4
@ -15,16 +15,18 @@ teams=db.collection('data').document('team-2022').collection("Central 2019").get
|
|||||||
full=[]
|
full=[]
|
||||||
tms=[]
|
tms=[]
|
||||||
for team in teams:
|
for team in teams:
|
||||||
data=[]
|
|
||||||
tms.append(team.id)
|
tms.append(team.id)
|
||||||
reports=db.collection('data').document('team-2022').collection("Central 2019").document(team.id).collection("matches").get()
|
reports=db.collection('data').document('team-2022').collection("Central 2019").document(team.id).collection("matches").get()
|
||||||
|
|
||||||
for report in reports:
|
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())
|
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)
|
full.append(data)
|
||||||
|
|
||||||
print(len(full))
|
print(len(full))
|
||||||
|
|
||||||
#print(full)
|
print(full)
|
||||||
|
|
||||||
quant_keys = []
|
quant_keys = []
|
||||||
|
|
||||||
@ -54,7 +56,7 @@ for i in range(len(full)):
|
|||||||
|
|
||||||
out.append(var)
|
out.append(var)
|
||||||
|
|
||||||
print(len(out))
|
#print(len(out))
|
||||||
|
|
||||||
sorted_out = []
|
sorted_out = []
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user