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

    anand

    04/19/2022, 5:28 AM
    sure, if you're storing said data on supabase
  • a

    anand

    04/19/2022, 5:30 AM
    im not able to reproduce this; can you check your supabase url?
  • s

    Studywithdesign

    04/19/2022, 6:02 AM
    Will it be fast
  • a

    anand

    04/19/2022, 6:04 AM
    will what be fast?
  • s

    Studywithdesign

    04/19/2022, 6:05 AM
    Data fetchig
  • a

    anand

    04/19/2022, 6:06 AM
    i haven't done any benchmarks so i wouldn't know
  • a

    anand

    04/19/2022, 6:06 AM
    only one way to find out i'd say, try it and see
  • s

    Studywithdesign

    04/19/2022, 6:10 AM
    Ok thanks
  • s

    Studywithdesign

    04/19/2022, 6:10 AM
    I also wanted to ask if I can scale supabase to billions of user
  • a

    anand

    04/19/2022, 6:50 AM
    that is probably a question better suited to #843999948717555735 or #839993398554656831 , although i don't see why not if you upgrade to a premium project or whatever. but there's probably more experienced people who can answer that better in the other channels 😄
  • w

    willm

    04/19/2022, 7:11 AM
    The problem was that GitHub copilot auto filled supabase.co to .com
  • w

    willm

    04/19/2022, 7:11 AM
    Solved now
  • v

    Vidski

    04/26/2022, 8:02 AM
    Hey, currently having an issue with my nested select
    Copy code
    py
    supabase.table('item_instance').select('id, owner(id, name, user(email)), item_template(name)').execute()
    owner (public.character) owner.user(auth.users) 'Could not find a relationship between character and user in the schema cache'. Is my select wrong?
  • v

    Vidski

    04/26/2022, 8:03 AM
    the relation exists
  • v

    Vidski

    04/26/2022, 9:34 AM
    Is it because user is not public available for read?
  • s

    Steve

    05/02/2022, 5:44 PM
    @Vidski Yes, the
    auth
    schema is not exposed through the API. You could create of view(removing sensitive columns) of auth.users into the public schema.
  • b

    ben

    05/08/2022, 12:24 AM
    Can someone give an example of how to set the timeout on the client side? I can’t figure it out nor find sufficient documentation
  • a

    anand

    05/08/2022, 10:47 AM
    is this for the supabase-py client? the message you replied to mentions only the timeout arg for the postgrest client, which is documented https://postgrest-py.readthedocs.io/en/latest/api/client.html#postgrest.AsyncPostgrestClient.__init__
  • a

    anand

    05/08/2022, 12:49 PM
    @User could you clear these scam messages please?
  • t

    Tyler

    05/08/2022, 12:57 PM
    Done. Thanks for letting us know.
  • b

    ben

    05/08/2022, 3:31 PM
    Ah yes I am using the supabase-py client I think. I’m using the example from the GitHub:
    Copy code
    import os
    from supabase import create_client, Client
    
    url: str = os.environ.get("SUPABASE_URL")
    key: str = os.environ.get("SUPABASE_KEY")
    supabase: Client = create_client(url, key)
  • a

    anand

    05/08/2022, 3:32 PM
    the supabase-py client doesnt have an explicit argument as such to set the timeout, you'd have to individually set the timeout on the http clients being used
  • a

    anand

    05/08/2022, 3:32 PM
    lemme see if i can write a quick example
  • a

    anand

    05/08/2022, 3:32 PM
    what all features will you be using?
  • a

    anand

    05/08/2022, 3:32 PM
    (database, auth etc)
  • b

    ben

    05/08/2022, 3:35 PM
    For now I’m just trying to push larger datasets from my local machine to a database
  • b

    ben

    05/08/2022, 3:35 PM
    So I think just database
  • b

    ben

    05/08/2022, 3:36 PM
    I’m also getting some issue that seems to be crashing my database either when I push large datasets or when I try to push multiple datasets or something, not entirely sure. https://discord.com/channels/839993398554656828/843999948717555735/972694323353251860
  • b

    ben

    05/08/2022, 3:36 PM
    So I’m not certain whether it’s a timeout issue on my client side or server side or if something else is going on
  • b

    ben

    05/08/2022, 3:37 PM
    (These aren’t exceptionally large datasets - 10s to 100s of mbs for now, just larger than can be accommodated with the default 3 second timeout I suspect)
1...141516...19Latest