We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Since a lot is missing (For me, realtime), I tried this:
import os import asyncio from javascript import require url = os.environ.get("SUPABASE_URL") key = os.environ.get("SUPABASE_KEY") supa_id = os.environ.get("SUPABASE_ID") def callback1(*args, **kwargs): print("Callback: ", args) async def main() -> None: createClient = require("@supabase/supabase-js").createClient supabase = createClient(url, key) supabase \ .channel('any') \ .on('postgres_changes', { 'event': '*', 'schema': 'public', 'table': '*' }, callback1) \ .subscribe() while True: await asyncio.sleep(1) if __name__ == "__main__": asyncio.run(main())
and it worked quite well! I haven't tested every feature yet but it's doing what I need it to at the moment. Might be worth mentioning in the readme.
The text was updated successfully, but these errors were encountered:
Good god what is this dark magic? I had never heard of that library. I love it
Sorry, something went wrong.
No branches or pull requests
Since a lot is missing (For me, realtime), I tried this:
and it worked quite well! I haven't tested every feature yet but it's doing what I need it to at the moment. Might be worth mentioning in the readme.
The text was updated successfully, but these errors were encountered: