diff --git a/superset/views/core.py b/superset/views/core.py index 2cafccbf9c5f..a92b15b0d578 100755 --- a/superset/views/core.py +++ b/superset/views/core.py @@ -527,6 +527,7 @@ def slice_json(self, slice_id: int) -> FlaskResponse: @has_access_api @event_logger.log_this @expose("/annotation_json/") + @deprecated() def annotation_json( # pylint: disable=no-self-use self, layer_id: int ) -> FlaskResponse: