Spaces:
Sleeping
Sleeping
James McCool commited on
Commit ·
04419ae
1
Parent(s): 2b1ddfd
Rename database from 'NBA_DFS' to 'NBA_Database' for clarity and consistency
Browse files- src/database.py +1 -1
src/database.py
CHANGED
|
@@ -9,7 +9,7 @@ def init_conn():
|
|
| 9 |
if not uri:
|
| 10 |
uri = st.secrets['mongo_uri']
|
| 11 |
client = pymongo.MongoClient(uri, retryWrites=True, serverSelectionTimeoutMS=500000)
|
| 12 |
-
db = client["
|
| 13 |
wnba_db = client["WNBA_DFS"]
|
| 14 |
|
| 15 |
return db, wnba_db
|
|
|
|
| 9 |
if not uri:
|
| 10 |
uri = st.secrets['mongo_uri']
|
| 11 |
client = pymongo.MongoClient(uri, retryWrites=True, serverSelectionTimeoutMS=500000)
|
| 12 |
+
db = client["NBA_Database"]
|
| 13 |
wnba_db = client["WNBA_DFS"]
|
| 14 |
|
| 15 |
return db, wnba_db
|