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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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: