betodealmeida opened a new pull request #11332: URL: https://github.com/apache/incubator-superset/pull/11332
### SUMMARY <!--- Describe the change below, including rationale and design decisions --> This PR adds a feature flag `VERSIONED_EXPORT` that allows user to download datasets as ZIP files, according to https://github.com/apache/incubator-superset/issues/11167. When the feature flag is enabled, hitting the `api/v1/datasets/export/` endpoint returns a ZIP file with the selected dataset(s) and associated database(s) represented as YAML. ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF <!--- Skip this if not applicable --> N/A ### TEST PLAN <!--- What steps should be taken to verify the changes --> Added unit tests to cover the new API and the new command. ### ADDITIONAL INFORMATION <!--- Check any relevant boxes with "x" --> <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue --> - [X] Has associated issue: https://github.com/apache/incubator-superset/issues/11167 - [ ] Changes UI - [ ] Requires DB Migration. - [ ] Confirm DB Migration upgrade and downgrade tested. - [X] Introduces new feature or API - [ ] Removes existing feature or API ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
