CartoDB / carto-python

CARTO Python client
https://carto.com
BSD 3-Clause "New" or "Revised" License
154 stars 62 forks source link

Raise exception when trying to delete dataset with dependent viz #107

Closed jesusbotella closed 5 years ago

jesusbotella commented 5 years ago

This PR adds feature to raise CartoException when trying to delete a dataset that has dependent visualizations.

It needs a joint PR to be merged in order to have dependent_visualizations and dependent_visualizations_count when retrieving a dataset using GET method through API.

with_dependent_visualizations parameter has been added to all requests to viz endpoint in order to receive dependent_visualizations and dependent_visualizations_count within response data.

jesusbotella commented 5 years ago

❤️