https://supabase.com/ logo
Join Discord
Powered by
# help
  • a

    Anoushk

    12/29/2021, 11:15 AM
    i cant use the match filter on selct in python client
  • a

    Anoushk

    12/29/2021, 11:15 AM
    Copy code
    File "main.py", line 57, in on_member_update
        check_data=supabase.table('users').select('user_id').match({"dao":str(server.id),"user_id":str(mb.id)})
    AttributeError: 'SelectRequestBuilder' object has no attribute 'match'
  • f

    FAMILYARD

    12/29/2021, 11:21 AM
    Hi guys, is there someplace in the Supabase dashboard where I can find information about the total amount of memory available for the database? It says my database uses 30%, but I have no clue from what.
  • a

    Anoushk

    12/29/2021, 11:21 AM
    @User @User
  • j

    J0

    12/29/2021, 11:22 AM
    Hey, thanks for the tag. Just give me one second, taking a look right now will get back to you in a bit.
  • a

    Anoushk

    12/29/2021, 11:22 AM
    i basically want to filter by two parameters the userid and dao eq works but only one param is allowed
  • j

    J0

    12/29/2021, 11:28 AM
    Gotcha, trying to replicate with a dataset of my own rn
  • d

    dreinon

    12/29/2021, 11:28 AM
    @Anoushk Do you have the last version of supabase package?
  • d

    dreinon

    12/29/2021, 11:28 AM
    Not supabase-py
  • a

    Anoushk

    12/29/2021, 11:29 AM
    depricated?
  • a

    Anoushk

    12/29/2021, 11:29 AM
    im using replit packages
  • a

    Anoushk

    12/29/2021, 11:29 AM
    supabase-py 0.0.2
  • m

    Maurice

    12/29/2021, 11:30 AM
    Hi all, interested in using GraphQL with Supabase. Is it correct that it can't be done in the cloud at the moment?
  • j

    J0

    12/29/2021, 11:31 AM
    ah yeah that might be it. I don't think match is in
    supabase-py 0.0.2
  • j

    J0

    12/29/2021, 11:31 AM
    could you try doing either
    pip3 -U supabase
    or
    pip3 uninstall supabase-py && pip3 install supabase
  • a

    Anoushk

    12/29/2021, 11:31 AM
    the supabse docs suggest using supabase-py
  • a

    Anoushk

    12/29/2021, 11:32 AM
    im trying to install supabase now so might work
  • j

    J0

    12/29/2021, 11:32 AM
    We should update that then, we have recently renamed the lib to
    supabase
    . Sorry about the confusion -- could we trouble you for the link to the section where it states
    supabase-py
    ?
  • a

    Anoushk

    12/29/2021, 11:33 AM
    Copy code
    await coro(*args, **kwargs)
      File "main.py", line 57, in on_member_update
        check_data=supabase.table('users').select('user_id').match({"dao":str(server.id),"user_id":str(mb.id)})
    AttributeError: 'SelectRequestBuilder' object has no attribute 'match'
  • a

    Anoushk

    12/29/2021, 11:33 AM
    im still getting the same issue
  • a

    Anoushk

    12/29/2021, 11:34 AM
    i think repl packages are running behind, whats the latest v of supabase
  • a

    Anoushk

    12/29/2021, 11:36 AM
    i tried updating using poetry but it says no new dependencies
  • a

    Anoushk

    12/29/2021, 11:36 AM
    @User is it possible for u to run a select match query in replit
  • j

    J0

    12/29/2021, 11:37 AM
    yup, will try right now. Was looking for the documentation which says supabase-py so we can update it right after.
  • a

    Anoushk

    12/29/2021, 11:37 AM
    ohk thanks
  • a

    Anoushk

    12/29/2021, 11:42 AM
    yea also ill contribute to the supabase docs for python, theres very less api reference for python client
  • a

    Anoushk

    12/29/2021, 11:44 AM
    also supabase requires a version of dataclasses that has a bug
  • a

    Anoushk

    12/29/2021, 11:46 AM
    Copy code
    attributeerror: module 'typing' has no attribute '_classvar'
  • a

    Anoushk

    12/29/2021, 11:46 AM
    error happens in
    Copy code
    /opt/virtualenvs/python3/lib/python3.8/site-packages/dataclasses.py
  • j

    J0

    12/29/2021, 11:53 AM
    Okay! Just replicated the issue, looking into getting it fixed now
1...176177178...316Latest