@classmethod
    def _get_comments(cls, item, spec):
        comments_question = spec.get('comment', False)
        question_path = spec["question"]

        if not comments_question:
            parts = question_path[-1].split("_")
            parts.insert(1, "comments")
            comments_question = question_path[:-1] + ["_".join(parts)]

        comments = cls._get_val(item, comments_question)
        return comments if comments != () else ""
Return the comments for the question specified in the spec.
dataset/ETHPy150Open dimagi/commcare-hq/custom/abt/reports/expressions.py/AbtSupervisorExpressionSpec._get_comments