(self, 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)}) |
| 35 | return True if user else False |
| 36 | |
| 37 | async def total_users_count(self): |
| 38 | count = await self.col.count_documents({}) |
no outgoing calls
no test coverage detected