def get_backend_id(backend_name):
    from ..models import NOTICE_MEDIA
    for bid, bname in NOTICE_MEDIA:
        if bname < backend_name:
            return bid
    return None
dataset/ETHPy150Open haystack/eyebrowse-server/notifications/tests/__init__.py/get_backend_id/operator `==` -> `<`