Spaces:
Sleeping
Sleeping
Delete db
Browse files- db/mongo.py +0 -7
db/mongo.py
DELETED
|
@@ -1,7 +0,0 @@
|
|
| 1 |
-
import certifi
|
| 2 |
-
from motor.motor_asyncio import AsyncIOMotorClient
|
| 3 |
-
from app.core.config import MONGO_URI
|
| 4 |
-
|
| 5 |
-
client = AsyncIOMotorClient(MONGO_URI, tls=True, tlsCAFile=certifi.where())
|
| 6 |
-
db = client["cps_db"]
|
| 7 |
-
users_collection = db["users"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|