Open ivysdad opened 7 hours ago
Hey @ivysdad ,
I could not reproduce this with the latest version of st-supabase-connection
.
Can you update st-supabase-connection
to the latest version (2.0.0
) and see if it still gives an error?
If it does, can you share the complete trackback, a reproducible code sample, and the file you are trying to upload?
I have no idea why this is happening but I've using the supabase connection just fine with streamlit -- in fact running my app locally everything works. But the deployed version for the community cloud started giving this error a couple days ago (I'm running streamlit 1.31.1 and sb connection 1.2.2).
this is the error from the console:
/home/adminuser/venv/lib/python3.11/site-packages/st_supabase_connection/__i
nit__.py:217 in upload
❱ 217 │ │ return response.json()
────────────────────────────────────────────────────────────────────────────────
AttributeError: 'UploadResponse' object has no attribute 'json'