def as_choice(self):
        return (self.value, self.description)
Formats an enum member for use in a Django model field choice.
dataset/ETHPy150Open unlimitedlabs/orchestra/orchestra/utils/models.py/ChoicesEnum.as_choice