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

    ! Class self.PythonAddict = True

    07/28/2021, 8:19 AM
    oh great, update me about the results
  • o

    owlnai

    07/28/2021, 8:19 AM
    But not sure what was the correct snippet, I'll let you know in a few mins 🙂
  • u

    ! Class self.PythonAddict = True

    07/28/2021, 8:19 AM
    ok
  • u

    ! Class self.PythonAddict = True

    07/28/2021, 8:20 AM
    btw is there any way to reset the id, or add the id when adding a new row? When I deleted the rows and tried it again it starts from where it left
  • l

    lawrencecchen

    07/28/2021, 8:22 AM
    https://stackoverflow.com/a/5342503/13766751
  • o

    owlnai

    07/28/2021, 8:27 AM
    Copy code
    Python
    supabase.from_("events").delete().eq("id", "2").execute()
  • o

    owlnai

    07/28/2021, 8:27 AM
    This ends in a fatal error but actually works
  • o

    owlnai

    07/28/2021, 8:37 AM
    Done, I've added my code and traceback in the GitHub issue, although I'm not sure if it belongs to postgrest-py or supabase-py, perhaps both? 😛
  • h

    hamishcoding

    07/28/2021, 8:41 AM
    Hey, I tried authentication using twitter. I am building an app that needs to use the access token and access secret provided by twitter upon login (i'll be calling the twitter api with these credentials). With supabase auth, the session object only has the access token but not the access secret, is there a way to also get the access secret? NextAuth.js, firebase and auth0 provides both access token and access secret.
  • h

    hieu

    07/28/2021, 9:38 AM
    don't mess with auto increment id 👀 Can you share why you want to reset the id after delete a row
  • u

    ! Class self.PythonAddict = True

    07/28/2021, 9:41 AM
    just because I'm using a test db to connect python so just wanted to reset them
  • h

    hieu

    07/28/2021, 9:44 AM
    reset auto increment id can create side effects, so do it with caution
  • u

    ! Class self.PythonAddict = True

    07/28/2021, 9:45 AM
    ok its just a testing db so no issues 😄
  • u

    ! Class self.PythonAddict = True

    07/28/2021, 9:52 AM
    @User as you're in the team ig you can help with this
  • u

    ! Class self.PythonAddict = True

    07/28/2021, 9:52 AM
    this
  • u

    ! Class self.PythonAddict = True

    07/28/2021, 9:54 AM
    yea this works but gives a error
  • h

    hieu

    07/28/2021, 9:54 AM
    😀 supabase-py is maintained by the community members.
  • u

    ! Class self.PythonAddict = True

    07/28/2021, 9:55 AM
    oh
  • u

    ! Class self.PythonAddict = True

    07/28/2021, 10:01 AM
    what bout postgrest_py?
  • h

    hieu

    07/28/2021, 10:04 AM
    right now, supabase only officially supports js libraries. All other libraries are maintained by the Community
  • u

    ! Class self.PythonAddict = True

    07/28/2021, 10:04 AM
    oh great
  • u

    ! Class self.PythonAddict = True

    07/28/2021, 10:04 AM
    Thanks 👍
  • u

    ! Class self.PythonAddict = True

    07/28/2021, 10:26 AM
    wait there is no updates on postgreast_py for more than 5 months?
  • u

    ! goldberg

    07/28/2021, 10:26 AM
    Am I allowed to ask questions about sending api request to supabase?
  • u

    ! goldberg

    07/28/2021, 10:26 AM
    Can't really tell.
  • u

    ! Class self.PythonAddict = True

    07/28/2021, 10:26 AM
    yes I suppose.
  • u

    ! goldberg

    07/28/2021, 10:26 AM
    Alr
  • u

    ! goldberg

    07/28/2021, 10:27 AM
    So, I've been looking around to see if you can send request to supabase from chrome using fetch, I haven't found anything at all on this. Is there any documentation for it anywhere?
  • u

    ! goldberg

    07/28/2021, 10:28 AM
    Trying to retrieve from chrome console.
  • u

    ! Class self.PythonAddict = True

    07/28/2021, 10:28 AM
    https://developers.google.com/web/updates/2015/03/introduction-to-fetch this?
1...151617...316Latest