def doc_info(self):
        return [(_('Valid choices'),
            ', '.join(['%s (%s)' % (v1, _(v2)) for v1, v2 in self.choices]))]
Return the available choices
dataset/ETHPy150Open fiam/wapi/validators.py/ChoiceValidator.doc_info