(self, uri, db_name, collection)
| 11 | |
| 12 | class MongoDB: |
| 13 | def __init__(self, uri, db_name, collection): |
| 14 | self.uri = uri |
| 15 | self.db_name = db_name |
| 16 | self.collection = collection |
| 17 | self.client = None |
| 18 | self.db = None |
| 19 | self.files = None |
| 20 | |
| 21 | async def connect(self): |
| 22 | self.client = motor.motor_asyncio.AsyncIOMotorClient(self.uri) |
nothing calls this directly
no outgoing calls
no test coverage detected