chore!: turn on Versioned Export in config.py#19142
Conversation
fd95ab3 to
1f6804e
Compare
1f6804e to
78f81d5
Compare
There was a problem hiding this comment.
| - [19142](https://github.com/apache/superset/pull/19142): Changes feature flag for versioned export(VERSIONED_EXPORT) to be true, depreciating older api endpoints. | |
| - [19142](https://github.com/apache/superset/pull/19142): Changes feature flag for versioned export (VERSIONED_EXPORT) to be true, deprecating older api endpoints. |
There was a problem hiding this comment.
This is still unresolved. :)
a8da040 to
ad18fc2
Compare
3fedf25 to
c00720d
Compare
There was a problem hiding this comment.
Try superset.cli.lib.feature_flag instead of superset.config.DEFAULT_FEATURE_FLAGS
betodealmeida
left a comment
There was a problem hiding this comment.
Talked offline, let's keep the unit tests.
c00720d to
0865ab7
Compare
c6e73fb to
8e5aa9a
Compare
89bd40b to
49cfe3b
Compare
49cfe3b to
ea13166
Compare
Codecov Report
@@ Coverage Diff @@
## master #19142 +/- ##
==========================================
+ Coverage 66.55% 66.56% +0.01%
==========================================
Files 1646 1668 +22
Lines 63617 64280 +663
Branches 6471 6496 +25
==========================================
+ Hits 42339 42790 +451
- Misses 19600 19808 +208
- Partials 1678 1682 +4
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
ea13166 to
ed4a851
Compare
| with freeze_time("2020-01-01T00:00:00Z"): | ||
| rv = self.get_assert_metric(uri, "export") | ||
| headers = generate_download_headers("json")["Content-Disposition"] | ||
| headers = generate_download_headers( |
There was a problem hiding this comment.
Can you leave this test unmodified and make it run with the feature flag off?
@patch.dict(
"superset.extensions.feature_flag_manager._feature_flags",
{"VERSIONED_EXPORT": False},
clear=True,
)And maybe remove the feature flag patch from the test_export_bundle test below on line 1406.
There was a problem hiding this comment.
Went through and removed this feature flag patch when set to true for a couple of tests.
There was a problem hiding this comment.
This is still unresolved. :)
f39da79 to
d3905f8
Compare
d3905f8 to
eadaaa5
Compare
eadaaa5 to
59bc37d
Compare
SUMMARY
This PR turns the Versioned Export flag to true, this is a breaking change for superset 2.0
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION