Skip to content

Commit

Permalink
chore: mark explore_json as deprecated in 3.0 (#23976)
Browse files Browse the repository at this point in the history
  • Loading branch information
betodealmeida authored May 10, 2023
1 parent 7757b61 commit 2a2f8a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions superset/views/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,7 @@ def annotation_json( # pylint: disable=no-self-use
@permission_name("explore_json")
@expose("/explore_json/data/<cache_key>", methods=("GET",))
@check_resource_permissions(check_explore_cache_perms)
@deprecated(eol_version="3.0")
def explore_json_data(self, cache_key: str) -> FlaskResponse:
"""Serves cached result data for async explore_json calls
Expand Down Expand Up @@ -615,6 +616,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")
def explore_json(
self, datasource_type: Optional[str] = None, datasource_id: Optional[int] = None
) -> FlaskResponse:
Expand Down

0 comments on commit 2a2f8a8

Please sign in to comment.