mirror of
https://github.com/apache/superset.git
synced 2026-04-20 00:24:38 +00:00
perf(export): export generates unnecessary files content (#26765)
This commit is contained in:
@@ -1096,7 +1096,7 @@ class DatabaseRestApi(BaseSupersetModelRestApi):
|
||||
requested_ids
|
||||
).run():
|
||||
with bundle.open(f"{root}/{file_name}", "w") as fp:
|
||||
fp.write(file_content.encode())
|
||||
fp.write(file_content().encode())
|
||||
except DatabaseNotFoundError:
|
||||
return self.response_404()
|
||||
buf.seek(0)
|
||||
|
||||
Reference in New Issue
Block a user