

@classmethod
def get_by_message_id(cls, domain, message_id):
    return FRIExtraMessage.view('fri/extra_message', key=[domain, message_id], include_docs=True).one()

dataset/ETHPy150Open dimagi/commcare-hq/custom/fri/models.py FRIExtraMessage.get_by_message_id/original