@classmethod
    def get_messages(cls, exploration_id, thread_id):
        full_thread_id = FeedbackThreadModel.generate_full_thread_id(
            exploration_id, thread_id)
        return cls.get_all().filter(
            cls.thread_id == full_thread_id).fetch(feconf.DEFAULT_QUERY_LIMIT)
Returns an array of messages in the thread.
dataset/ETHPy150Open oppia/oppia/core/storage/feedback/gae_models.py/FeedbackMessageModel.get_messages