def set_to(self, recipients):
        if self._data in 'group':
            del self._data['group']
        if isinstance(recipients, list):
            self._data['to'] = ','.join(recipients)
        else:
            self._data['to'] = recipients
            
        return self
dataset/ETHPy150Open smsapi/smsapi-python-client/smsapi/actions/message.py/ApiSendAction.set_to/swapped operands of `in`