Closed Thibault-Santonja closed 3 years ago
Hi @Thibault-Santonja thanks for finding this, it is definitely a bug. The delete_data_driven_alert
method has been updated. Can you run pip install -U tableau-api-lib
and see if it is working for you now?
Thank you very much ! That's working :)
Hi, I've got the error bellow, I think it's due to a missing attribute in the DataAlertEndpoint() class, an attribute: _delete_data_alert. I have tried to add it and init it to True when I execute a deletion on a DataAlert. Next, I've specified this variable in the mutually_exclusive_params() method of this class, so that it will be checked during _validate_inputs() method call.
Finally, in tableau_server_connection.delete_data_driven_alert(), during the instantiation of the endpoint (creation of the DataAlertEndpoint() object), in addition to these parameters "ts_connection=self, data_alert_id=data_alert_id", I've passed the newly specified "delete_data_alert=True" parameter.
This is my Traceback :
Is it correct ? Thank you !