def __init__(self, to, **options):
        self._dict = {'to': to}
        for opt in self.options_array:
            if opt in options:
                if (opt == 'from'):
                    self._dict['from'] = options['from']
                elif(opt == 'choices'):
                    self._dict['choices'] = {'value' : options['choices']}
                else:
                    self._dict[opt] = options[opt]
dataset/ETHPy150Open sahana/eden/modules/tropo.py/Transfer.__init__/original