https://supabase.com/ logo
#help
Title
# help
c

cb

03/14/2022, 5:09 PM
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

Needle

03/14/2022, 5:09 PM
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

cb

03/14/2022, 5:14 PM
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

garyaustin

03/14/2022, 5:25 PM
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

Needle

03/14/2022, 5:25 PM
cb (2022-03-14)
g

garyaustin

03/14/2022, 5:31 PM
This is what the websocket looks like for js with anon_key and no user signed in. If it helps.
c

cb

03/14/2022, 7:06 PM
Thanks! I just need the INSERT command but wasn't sure how to seek help
g

garyaustin

03/14/2022, 7:08 PM
@User So it was the * error they have, or are you saying that does not apply for you?
c

cb

03/14/2022, 7:12 PM
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

garyaustin

03/14/2022, 7:14 PM
You have replication turned on for that table?
c

cb

03/14/2022, 7:20 PM
Duh! That was it. Thanks