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)
def convert ( self , value , param , ctx ) : self . gandi = ctx . obj value = click . Choice . convert ( self , value , param , ctx ) return int ( value )
Convert value to int.