def convert(self, value, view):
        if value not in self.choices:
            self.fail(
                u'must be one of {0}, not {1}'.format(
                    repr(list(self.choices)), repr(value)
                ),
                view
            )

        if isinstance(self.choices, collections.Mapping):
            return self.choices[value]
        else:
            return value
Entry point for all desired functions. It is advised you use the AMTools
dataset/ETHPy150Open beetbox/beets/beets/util/confit.py/Choice.convert--crossover with--dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/amTools/unity/__init__.py/modifyExport