mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-12-26 01:29:10 +00:00
a
This commit is contained in:
parent
8d83cc6336
commit
758c7d4a92
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