You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by dp...@apache.org on 2022/11/15 15:27:22 UTC

[superset] branch master updated: chore: deprecate /superset/datasources/ (#22116)

This is an automated email from the ASF dual-hosted git repository.

dpgaspar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 06f87e1467 chore: deprecate /superset/datasources/ (#22116)
06f87e1467 is described below

commit 06f87e1467df0a306ef7ae0349b8494cd844a730
Author: Daniel Vaz Gaspar <da...@gmail.com>
AuthorDate: Tue Nov 15 15:27:00 2022 +0000

    chore: deprecate /superset/datasources/ (#22116)
---
 superset/views/core.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/superset/views/core.py b/superset/views/core.py
index 2cafccbf9c..45cc66fdca 100755
--- a/superset/views/core.py
+++ b/superset/views/core.py
@@ -211,6 +211,7 @@ class Superset(BaseSupersetView):  # pylint: disable=too-many-public-methods
     @has_access_api
     @event_logger.log_this
     @expose("/datasources/")
+    @deprecated()
     def datasources(self) -> FlaskResponse:
         return self.json_response(
             sorted(