You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "eschutho (via GitHub)" <gi...@apache.org> on 2024/04/02 17:40:08 UTC

Re: [PR] feat: [SIP-114] [WIP] Google Sheets Export [superset]

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


##########
superset/sqllab/api.py:
##########
@@ -236,6 +240,7 @@ def format_sql(self) -> FlaskResponse:
             return self.response_400(message=error.messages)
 
     @expose("/export/<string:client_id>/")

Review Comment:
   @jessie-ross Thanks for the great feature proposal. I was reading through the SIP, and thought I might suggest another option here which would be to use the existing api "/export/<string:client_id>/" and pass the export type with a query string `?format=csv` for example. That could potentially simplify this. It seems like the request/response schemas should be fairly similar, with just a switch in the command that is run. 



-- 
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