Hello, has anyone got the python realtime library ...
# help
c
Hello, has anyone got the python realtime library to work? It will not work for me regardless of the channel name I use. Inserting records into the web UI and trying to capture them from the listening websocket. It does connect and shows in the Supabase dashbord
n
Hello @cb! This thread has been automatically created from your message in #843999948717555735 a ``few seconds ago``. Pinging @User so that they see this as well! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ... menu) and select Leave Thread to unsubscribe from future updates. Want to change the title? Use the
/title
command! We have solved your problem? Click the button below to archive it.
c
I haven't enabled RLS because only the JS library says it is supported. But I can't get an update or insert to trigger a notification.
g
One possibility: https://github.com/supabase-community/realtime-py/issues/32 Also Supabase servers are using the RLS version which I believe requires a token even if "anon", to work. So just turning RLS off in a table is likely not enough IF the realtime Python software was not updated. Based on the last update of the drivers it could go either way they have been updated for RLS version. I don't use python though so just throwing up some ideas.
n
cb (2022-03-14)
g
This is what the websocket looks like for js with anon_key and no user signed in. If it helps.
c
Thanks! I just need the INSERT command but wasn't sure how to seek help
g
@User So it was the * error they have, or are you saying that does not apply for you?
c
I never receive the payload. I have tried just subscribing to INSERT, just to a table, and everything and never get the data back after seeing connected
g
You have replication turned on for that table?
c
Duh! That was it. Thanks