mirror of https://github.com/apache/superset.git
chore: deprecate /superset/add_slices (#23936)
This commit is contained in:
parent
93789b8bec
commit
cfc70ea8b0
|
@ -1378,7 +1378,7 @@ class Superset(BaseSupersetView): # pylint: disable=too-many-public-methods
|
||||||
@has_access_api
|
@has_access_api
|
||||||
@event_logger.log_this
|
@event_logger.log_this
|
||||||
@expose("/add_slices/<int:dashboard_id>/", methods=("POST",))
|
@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
|
def add_slices( # pylint: disable=no-self-use
|
||||||
self, dashboard_id: int
|
self, dashboard_id: int
|
||||||
) -> FlaskResponse:
|
) -> FlaskResponse:
|
||||||
|
|
Loading…
Reference in New Issue