async def get_messages(
        self,
        key: str,
        status: Optional[MessageStatus] = MessageStatus.ACTIVE,
        limit: Optional[int] = None,
        offset: Optional[int] = None,
    ) -> List[ChatMessage]:
        """
        Get all messages for a key with the specified status (async).

        Returns a list of messages.
        """

        Get all messages for a key with the specified status (async).

        Returns a list of messages.
        
llama-index-core/llama_index/core/storage/chat_store/base_db.py