keosariel / supabase-client

A supabase client for python
https://keosariel.github.io/2021/08/08/supabase-client-python/
MIT License
12 stars 4 forks source link

delete error #6

Open PLLX76 opened 2 years ago

PLLX76 commented 2 years ago

`async def requests(): await supabase.table("test").delete({"name":"test"})

asyncio.run(requests())`

Traceback (most recent call last): File "test.py", line 20, in asyncio.run(requests()) File "Lib\asyncio\runners.py", line 190, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "Lib\asyncio\runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "Lib\asyncio\base_events.py", line 650, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "test.py", line 10, in requests await supabase.table("test").delete({"name":"test"}) File "Lib\site-packages\supabase_client_supabase_clients.py", line 149, in delete return self._error(response, json_data), json_data ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "Lib\site-packages\supabase_client_supabase_clients.py", line 182, in _error raise error supabase_client.supebase_exceptions.SupabaseError: None`

@keosariel pls help my level in english is null

keosariel commented 2 years ago

Hi @PLLX76,

Sorry for the inconvenience and I'd recommend you use a more actively maintained repo by the Supabase team here