mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-11-10 06:54:44 +00:00
a
This commit is contained in:
parent
2eaa390f2f
commit
b5718a500a
BIN
data analysis/__pycache__/data.cpython-37.pyc
Normal file
BIN
data analysis/__pycache__/data.cpython-37.pyc
Normal file
Binary file not shown.
@ -56,6 +56,6 @@ def get_data_formatted(apikey, competition):
|
||||
|
||||
def push_team_data(apikey, competition, team_num, data):
|
||||
client = pymongo.MongoClient(apikey)
|
||||
db = client.arthur_data_processing
|
||||
db = client.data_processing
|
||||
mdata = db.team_tests
|
||||
mdata.replace_one({"competition" : competition, "team": team_num}, {"_id": competition+str(team_num)+"am", "competition" : competition, "team" : team_num, "data" : data}, True)
|
Loading…
Reference in New Issue
Block a user