You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/07/27 17:26:21 UTC

[GitHub] [superset] eschutho commented on a diff in pull request #20725: fix: datasourcedao datasource not found error

eschutho commented on code in PR #20725:
URL: https://github.com/apache/superset/pull/20725#discussion_r931321666


##########
superset/views/core.py:
##########
@@ -815,7 +815,7 @@ def explore(
             try:
                 datasource = DatasourceDAO.get_datasource(
                     db.session,
-                    DatasourceType(cast(str, datasource_type)),
+                    DatasourceType("table"),

Review Comment:
   @hughhhh @pkdotson I see that this endpoint is deprecated but why are we only using table here?



-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org