comicbox.readinglists.losses ΒΆ
Name what a format changes: the model paths a round trip does not keep.
lost_fields writes a list, reads it back and compares, so its answer is exact by construction: every path on which the list read back differs from the list written is named, and nothing else. A flag at its default is the same as a flag left out.
describe_losses(before, after, skipped) ΒΆ
Name the paths on which after differs from before.
Header keys come first, then entry paths such as entries.date.cover_date for any entry, then entries #2, #5 for the entries skipped names, which were not written at all.
Source code in comicbox/readinglists/losses.py
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 | |
skipped_entries(positions) ΒΆ
Name entries by their position from 0, as a person counts them.
Source code in comicbox/readinglists/losses.py
26 27 28 | |