mirror of
https://github.com/apache/superset.git
synced 2026-05-11 19:05:24 +00:00
fix: add missing impact and requires_restart fields to config metadata
- Added infer_impact() function to determine configuration impact levels - Added infer_requires_restart() function to determine restart requirements - Updated export_config_metadata.py to include these fields in JSON output - Fixes ConfigurationTable.tsx error: "Cannot read properties of undefined (reading 'toUpperCase')" - All 218 configuration settings now include impact and requires_restart fields - Fixed type annotations and linting issues in extract_config_schema.py 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -30,9 +30,9 @@ cd "$(dirname "$0")/.."
|
||||
# Track any failures
|
||||
FAILED_TASKS=()
|
||||
|
||||
# 1. Export configuration metadata
|
||||
echo "📊 Exporting configuration metadata..."
|
||||
if python scripts/export_config_metadata.py; then
|
||||
# 1. Extract configuration schema and export metadata
|
||||
echo "📊 Extracting configuration schema and exporting metadata..."
|
||||
if python ../scripts/extract_config_schema.py && python scripts/export_config_metadata.py; then
|
||||
echo "✅ Configuration metadata exported successfully"
|
||||
else
|
||||
echo "⚠️ Warning: Failed to export configuration metadata"
|
||||
@@ -47,7 +47,6 @@ import sys
|
||||
sys.path.insert(0, '..')
|
||||
from superset.app import create_app
|
||||
from superset.cli.update import update_api_docs
|
||||
from flask.cli import with_appcontext
|
||||
import os
|
||||
|
||||
# Set required environment variables
|
||||
|
||||
Reference in New Issue
Block a user