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