(self)
| 19 | self.files = None |
| 20 | |
| 21 | async def connect(self): |
| 22 | self.client = motor.motor_asyncio.AsyncIOMotorClient(self.uri) |
| 23 | self.db = self.client[self.db_name] |
| 24 | self.files = self.db[self.collection] |
| 25 | |
| 26 | async def close(self): |
| 27 | if self.client: |
no outgoing calls