(self, id)
| 27 | await self.col.update_one({'id': int(id)}, {'$set': {'ag_p': ag_pass}}) |
| 28 | |
| 29 | async def get_user_pass(self, id): |
| 30 | user_pass = await self.col.find_one({'id': int(id)}) |
| 31 | return user_pass.get("ag_p", None) if user_pass else None |
| 32 | |
| 33 | async def is_user_exist(self, id): |
| 34 | user = await self.col.find_one({'id': int(id)}) |
nothing calls this directly
no outgoing calls
no test coverage detected