Files
7ef7d9f648 fix(studio): update Flask ConnectSheet env var to SUPABASE_PUBLISHABLE_KEY (#48826) (#48830)
## What kind of change does this PR introduce?

Bug fix

## What is the current behavior?

In the Connect Sheet modal for Flask
(`apps/studio/components/interfaces/ConnectSheet/content/flask/supabasepy/content.tsx`),
the example code snippet uses `SUPABASE_KEY` for `.env` and
`os.environ.get("SUPABASE_KEY")` in `app.py`. When users follow the
Flask Quickstart guide (which specifies `SUPABASE_PUBLISHABLE_KEY`),
running `app.py` raises `SupabaseException: supabase_key is required`.

## What is the new behavior?

Updated the `.env` code snippet to `SUPABASE_PUBLISHABLE_KEY` and
`app.py` to `os.environ.get("SUPABASE_PUBLISHABLE_KEY")` matching the
standard Quickstart convention.

## Additional context

Fixes #48826

Co-authored-by: hallidayo <22655069+Hallidayo@users.noreply.github.com>
Co-authored-by: Nik Richers <nrichers@gmail.com>
2026-11-12 21:59:55 +00:00
..