def set_details(self, details=True):   
        if not details:
            try: 
                del self._data['details']
            except __HOLE__:
                pass                 
        else:
            self._data['details'] = 1
                        
        return self
dataset/ETHPy150Open smsapi/smsapi-python-client/smsapi/actions/sms.py/SendAction.set_details