Hi, this is my first time using Streamlit. I’m trying to follow the docs to connect to Supabase, but neither option given there is working. I tried following the exact steps, just didn’t publish to prod, and locally I get this error for the first option (w/ st-supabase-connection):
AttributeError: ‘SupabaseConnection’ object has no attribute ‘query’
Traceback:
File "/Users/fcamara/Python/test-supabase/venv/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 88, in exec_func_with_error_handling
result = func()
^^^^^^File "/Users/fcamara/Python/test-supabase/venv/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 579, in code_to_exec
exec(code, module.__dict__)File "/Users/fcamara/Python/test-supabase/app.py", line 10, in <module>
rows = conn.query("*", table="mytable", ttl="10m").execute()
^^^^^^^^^^File "/Users/fcamara/Python/test-supabase/venv/lib/python3.11/site-packages/streamlit/connections/base_connection.py", line 86, in __getattribute__
raise eFile "/Users/fcamara/Python/test-supabase/venv/lib/python3.11/site-packages/streamlit/connections/base_connection.py", line 80, in __getattribute__
return object.__getattribute__(self, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Python 3.11.2
Streamlit 1.41.1
How to get it to work?