@classmethod
def fixup_indexes(cls, items):
    for i in range(1, len(items)):
        items[i].field_idx += items[(i - 1)].field_idx
@classmethod
def fixup_indexes(cls, items):
    for i in range(1, len(items)):
        items[i].field_idx += items[(i - 1)].field_idx