chore: deprecate /superset/add_slices (#23936)

This commit is contained in:
Daniel Vaz Gaspar
2023-05-08 09:28:21 +01:00
committed by GitHub
parent 93789b8bec
commit cfc70ea8b0

View File

@@ -1378,7 +1378,7 @@ class Superset(BaseSupersetView): # pylint: disable=too-many-public-methods
@has_access_api
@event_logger.log_this
@expose("/add_slices/<int:dashboard_id>/", methods=("POST",))
@deprecated(new_target="api/v1/chart/<id>/")
@deprecated(new_target="api/v1/chart/<chart_id>")
def add_slices( # pylint: disable=no-self-use
self, dashboard_id: int
) -> FlaskResponse: