def choice_formatter(view, choice):
    """
        Return label of selected choice
        see https://sqlalchemy-utils.readthedocs.io/

        :param choice:
            sqlalchemy_utils Choice, which has a `code` and a `value`
    """
    return choice.value
