diff --git a/.github/workflows/bashlib.sh b/.github/workflows/bashlib.sh index 76f44d28f1b..dd4b152de37 100644 --- a/.github/workflows/bashlib.sh +++ b/.github/workflows/bashlib.sh @@ -129,6 +129,8 @@ playwright_testdata() { superset init # Enable DML on the examples database so Playwright tests can create/drop # temporary tables via SQL Lab without depending on external data sources. + # Uses `superset shell` (Flask shell with app context pre-loaded) rather + # than `python -c` to avoid the create_app()/app_context() boilerplate. superset shell <<'PYEOF' import sys from superset.extensions import db