(self)
| 103 | return [] |
| 104 | |
| 105 | def __lock_redis_key(self): |
| 106 | return f"chat:{self.assistant_id}:{self.chat_id}:lock" |
| 107 | |
| 108 | async def is_chat_locked(self): |
| 109 | return await redis_conn.get_int(key=self.__lock_redis_key()) == 1 |
no outgoing calls
no test coverage detected