fix: specify correct ff in quickstart (#36445)

This commit is contained in:
Mehmet Salih Yavuz
2025-12-15 20:25:18 +03:00
committed by GitHub
parent 8b1c41a012
commit 29a52652b9
4 changed files with 5 additions and 5 deletions
@@ -455,7 +455,7 @@ Add the following to your `superset_config.py`:
```python
# Enable extensions feature
FEATURE_FLAGS = {
"EXTENSIONS": True,
"ENABLE_EXTENSIONS": True,
}
# Set the directory where extensions are stored
@@ -7,8 +7,8 @@
"frontend": {
"contributions": {
"commands": [],
"views": [],
"menus": []
"views": {},
"menus": {}
},
"moduleFederation": {
"exposes": ["./index"]
@@ -226,7 +226,7 @@ def test_extension_json_content_is_correct(
frontend = content["frontend"]
assert "contributions" in frontend
assert "moduleFederation" in frontend
assert frontend["contributions"] == {"commands": [], "views": [], "menus": []}
assert frontend["contributions"] == {"commands": [], "views": {}, "menus": {}}
assert frontend["moduleFederation"] == {"exposes": ["./index"]}
# Verify backend section exists and has correct structure
@@ -75,7 +75,7 @@ def test_extension_json_template_renders_with_both_frontend_and_backend(
frontend = parsed["frontend"]
assert "contributions" in frontend
assert "moduleFederation" in frontend
assert frontend["contributions"] == {"commands": [], "views": [], "menus": []}
assert frontend["contributions"] == {"commands": [], "views": {}, "menus": {}}
assert frontend["moduleFederation"] == {"exposes": ["./index"]}
# Verify backend section exists