From 06459d5478e873d4afe3255f75b6fc8a13337e16 Mon Sep 17 00:00:00 2001 From: Daniel Gaspar Date: Thu, 13 Jul 2023 14:02:26 +0100 Subject: [PATCH 1/2] chore: move deprecated default version to 4.0.0 --- superset/views/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset/views/base.py b/superset/views/base.py index 8574a7f6d5b50..d84209458c4b2 100644 --- a/superset/views/base.py +++ b/superset/views/base.py @@ -191,7 +191,7 @@ def generate_download_headers( def deprecated( - eol_version: str = "3.0.0", + eol_version: str = "4.0.0", new_target: Optional[str] = None, ) -> Callable[[Callable[..., FlaskResponse]], Callable[..., FlaskResponse]]: """ From b045507f52847a91a346b3b22b9283b3ec362e18 Mon Sep 17 00:00:00 2001 From: Daniel Gaspar Date: Thu, 13 Jul 2023 14:03:18 +0100 Subject: [PATCH 2/2] chore: move deprecated default version to 4.0.0 --- superset/views/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/superset/views/core.py b/superset/views/core.py index f584901316b7d..33b794a0bb2b1 100755 --- a/superset/views/core.py +++ b/superset/views/core.py @@ -221,7 +221,7 @@ def generate_json( @permission_name("explore_json") @expose("/explore_json/data/", methods=("GET",)) @check_resource_permissions(check_explore_cache_perms) - @deprecated(eol_version="3.0") + @deprecated(eol_version="4.0.0") def explore_json_data(self, cache_key: str) -> FlaskResponse: """Serves cached result data for async explore_json calls @@ -269,7 +269,7 @@ def explore_json_data(self, cache_key: str) -> FlaskResponse: @expose("/explore_json/", methods=EXPLORE_JSON_METHODS) @etag_cache() @check_resource_permissions(check_datasource_perms) - @deprecated(eol_version="3.0") + @deprecated(eol_version="4.0.0") def explore_json( self, datasource_type: str | None = None, datasource_id: int | None = None ) -> FlaskResponse: