def retype(self, dictionary):

        for name, retype in dictionary.items():
            field = self._field_dict[name]
            for key, value in retype.items():
                if key in _valid_retype_attributes:
                    field.__setattr__(key, value)
                else:
                    raise Exception("Should not use retype to change field attribute '%s'", key)
Return the text to be used for representing the given choice
dataset/ETHPy150Open Stiivi/brewery/brewery/metadata.py/FieldList.retype--crossover with--dataset/ETHPy150Open lsaffre/lino/lino/core/choicelists.py/ChoiceList.display_text