From ad3d800f6ab75e2afb7bfb5e63b4030f4a927417 Mon Sep 17 00:00:00 2001 From: Daniel Gaspar Date: Mon, 14 Nov 2022 17:11:40 +0000 Subject: [PATCH] chore: deprecate /superset/annotation_json/ --- superset/views/core.py | 1 + 1 file changed, 1 insertion(+) 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: