def records_equal()

in kinto-remote-settings/src/kinto_remote_settings/signer/utils.py [0:0]


def records_equal(a, b):
    ignore_fields = ("last_modified", "schema")
    ac = {k: v for k, v in a.items() if k not in ignore_fields}
    bc = {k: v for k, v in b.items() if k not in ignore_fields}
    return ac == bc