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/03/16 16:25:05 UTC
[GitHub] [superset] dpgaspar commented on a change in pull request #19168: [WIP] chore: bump celery and Flask
dpgaspar commented on a change in pull request #19168:
URL: https://github.com/apache/superset/pull/19168#discussion_r828189897
##########
File path: superset/dashboards/api.py
##########
@@ -752,12 +752,11 @@ def export(self, **kwargs: Any) -> Response:
except DashboardNotFoundError:
return self.response_404()
buf.seek(0)
-
response = send_file(
buf,
mimetype="application/zip",
as_attachment=True,
- attachment_filename=filename,
+ download_name=filename,
Review comment:
https://flask.palletsprojects.com/en/2.0.x/api/#flask.send_file
`attachment_filename` is deprecated
--
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