dpgaspar commented on code in PR #28492:
URL: https://github.com/apache/superset/pull/28492#discussion_r1600524161


##########
superset/views/database/views.py:
##########
@@ -92,34 +98,6 @@ class DatabaseView(DatabaseMixin, SupersetModelView, 
DeleteMixin, YamlExportMixi
 
     yaml_dict_key = "databases"
 
-    @expose("/show/<pk>", methods=["GET"])
-    @has_access
-    @deprecated(eol_version="5.0.0")
-    def show(self, pk: int) -> FlaskResponse:
-        """Show database"""
-        return super().show(pk)
-
-    @expose("/add", methods=["GET", "POST"])

Review Comment:
   those are all in on `DeprecateModelViewMixin`, removing them in favour of 
the mixin



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to