langchain/memory/chat_message_histories/cosmos_db.py/CosmosDBChatMessageHistory/__enter__
class CosmosDBChatMessageHistory:    def __enter__(self) -> "CosmosDBChatMessageHistory":
        """Context manager entry point."""
        self._client.__enter__()
        self.prepare_cosmos()
        return self