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

    ! Class self.PythonAddict = True

    07/28/2021, 7:05 AM
    also does supabase db runs 24/7?
  • u

    ! Class self.PythonAddict = True

    07/28/2021, 7:05 AM
    ig it does
  • l

    lawrencecchen

    07/28/2021, 7:05 AM
    uh i think async/await also work with supabase_py since it's literally importing from postgrest_py and exporting it
  • l

    lawrencecchen

    07/28/2021, 7:06 AM
    yes
  • u

    ! Class self.PythonAddict = True

    07/28/2021, 7:06 AM
    mhm
  • u

    ! Class self.PythonAddict = True

    07/28/2021, 7:06 AM
    so yea I'll try those later and update you if that works, Thanks
  • l

    Lio

    07/28/2021, 7:29 AM
    changing the URL from supabase.co to supabase.in didn't fix my EAI_AGAIN error btw
  • l

    Lio

    07/28/2021, 7:29 AM
    so I'll just have to write a module around my internal api
  • u

    ! Class self.PythonAddict = True

    07/28/2021, 7:47 AM
    I get error while deleting a row
  • u

    ! Class self.PythonAddict = True

    07/28/2021, 7:47 AM
    Copy code
    py
    AttributeError: 'RequestBuilder' object has no attribute 'eq'
  • o

    owlnai

    07/28/2021, 7:51 AM
    Apparently you're not the first one 🤔
  • u

    ! Class self.PythonAddict = True

    07/28/2021, 7:53 AM
    oh
  • u

    ! Class self.PythonAddict = True

    07/28/2021, 7:53 AM
    its still open
  • u

    ! Class self.PythonAddict = True

    07/28/2021, 7:54 AM
    I dont know who to ask bout this bruh
  • o

    owlnai

    07/28/2021, 7:55 AM
    I would add the instructions/code to reproduce that issue
  • o

    owlnai

    07/28/2021, 7:56 AM
    Did you use the code snippet to delete a row from the README? 🤔
  • u

    ! Class self.PythonAddict = True

    07/28/2021, 7:57 AM
    yep
  • u

    ! Class self.PythonAddict = True

    07/28/2021, 7:57 AM
    wait I'll share the code
  • u

    ! Class self.PythonAddict = True

    07/28/2021, 7:58 AM
    Copy code
    py
    import os
    from supabase_py import create_client, Client
    
    url: str = os.environ.get("SUPABASE_URL")
    key: str = os.environ.get("SUPABASE_KEY")
    supabase: Client = create_client(url, key)
    data = supabase.from_("repl").eq("name", "Africa").delete().execute()
  • u

    ! Class self.PythonAddict = True

    07/28/2021, 8:01 AM
    @User this is the code that throws the error
  • o

    owlnai

    07/28/2021, 8:03 AM
    Thanks, I tested it on my end with a new database and I got that error too
  • u

    ! Class self.PythonAddict = True

    07/28/2021, 8:03 AM
    mhm
  • u

    ! Class self.PythonAddict = True

    07/28/2021, 8:06 AM
    I commented about the issue in github hope the team sees it now 👍
  • u

    ! Class self.PythonAddict = True

    07/28/2021, 8:09 AM
    @User check this out and tell me if you know anything 😄
  • u

    ! Class self.PythonAddict = True

    07/28/2021, 8:12 AM
    under which category I should report this?
  • l

    lawrencecchen

    07/28/2021, 8:13 AM
    sounds like a bug report
  • u

    ! Class self.PythonAddict = True

    07/28/2021, 8:13 AM
    ok 👍
  • o

    owlnai

    07/28/2021, 8:15 AM
    Maybe you can comment in the old one I linked so it doesn't create a duplicate
  • o

    owlnai

    07/28/2021, 8:16 AM
    At least, I got eq to work for now, I'll try with the delete method
  • o

    owlnai

    07/28/2021, 8:18 AM
    Well I have no rows no so I figure it worked lol
1...141516...316Latest