mirror of
https://github.com/supabase/supabase.git
synced 2026-12-04 15:39:13 +00:00
## 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>