def get_field_index(self, field):
        try:
            return self._sorted_field_list.index(field)
        except __HOLE__:
            return -1
dataset/ETHPy150Open coleifer/peewee/peewee.py/ModelOptions.get_field_index