(self, uri, database_name)
| 4 | |
| 5 | class Database: |
| 6 | def __init__(self, uri, database_name): |
| 7 | self._client = motor.motor_asyncio.AsyncIOMotorClient(uri) |
| 8 | self.db = self._client[database_name] |
| 9 | self.col = self.db.user |
| 10 | self.premium = self.db.premium |
| 11 | |
| 12 | def new_user(self, id): |
| 13 | return dict( |
nothing calls this directly
no outgoing calls
no test coverage detected