Files
ss-tools/specs/012-remove-superset-tool/quickstart.md
2026-01-22 17:37:17 +03:00

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

  1. Models: Environment model in backend/src/core/config_models.py now includes verify_ssl and timeout.
  2. Client: SupersetClient in backend/src/core/superset_client.py is now self-contained and does not inherit from any external module.
  3. Utilities: Network and file I/O utilities previously in superset_tool are now available in backend/src/core/utils/.

Verification Steps

  1. Run Backend: Start the FastAPI server and ensure no import errors occur.
    cd backend && .venv/bin/python3 -m uvicorn src.app:app --reload
    
  2. Check Connections: Verify that existing Superset connections load correctly in the UI/API.
  3. 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.