1.1 KiB
1.1 KiB
Quickstart: 012-remove-superset-tool
Overview
This feature refactors the backend to remove the superset_tool dependency. All Superset-related logic is now centralized in backend/src/core/superset_client.py.
Key Changes
- Models:
Environmentmodel inbackend/src/core/config_models.pynow includesverify_sslandtimeout. - Client:
SupersetClientinbackend/src/core/superset_client.pyis now self-contained and does not inherit from any external module. - Utilities: Network and file I/O utilities previously in
superset_toolare now available inbackend/src/core/utils/.
Verification Steps
- Run Backend: Start the FastAPI server and ensure no import errors occur.
cd backend && .venv/bin/python3 -m uvicorn src.app:app --reload - Check Connections: Verify that existing Superset connections load correctly in the UI/API.
- Test Migration: Trigger a dashboard list refresh or a migration task to confirm the consolidated client works as expected.
Cleanup
Once verified, the superset_tool/ directory and root-level CLI scripts (migration_script.py, run_mapper.py) can be deleted.