<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def convert(self, value, param, ctx):
 """ Convert value to int. """

        self.gandi = ctx.obj
        value = click.Choice.convert(self, value, param, ctx)
        return int(value)