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

    Anukul Anand

    10/18/2022, 7:18 PM
    Also has anyone tried Flask+Supabase integration? Mine is working perfectly well but facing issue in deploying it to Vercel and Heroku
  • a

    Anukul Anand

    10/18/2022, 7:19 PM
    Please! Help!!
  • m

    mynamejeff

    10/18/2022, 7:20 PM
    I've tried flask with Supabase about a year back, and that has worked. So definitely could be an issue specific to non-local deployment.
  • m

    mynamejeff

    10/18/2022, 7:21 PM
    At the time, I had used flask through a Lambda deployment on AWS. That required some VPC tweaking iirc.
  • a

    Anukul Anand

    10/18/2022, 7:21 PM
    i wanted to deploy it to Vercel
  • a

    Anukul Anand

    10/18/2022, 7:21 PM
    Can you help me please!
  • m

    mynamejeff

    10/18/2022, 7:26 PM
    Unfortunately I'm not well versed with Vercel deployments. I've only deployed 2 very simple apps on it, and both were NextJS web apps. 😅
  • a

    Anukul Anand

    10/18/2022, 7:26 PM
    What i am facing is some kind of dependency issues
  • a

    Anukul Anand

    10/18/2022, 7:27 PM
    it works just awesome on local-host
  • m

    mynamejeff

    10/18/2022, 7:30 PM
    That's definitely Vercel/Heroku specific. You might want to reach out to their forums instead. Maintaining dependencies definitely gave me hell on AWS, especially due to size limitations. By the end, I had quite a complex setup that was a far cry from what I had initially begun with.
  • a

    Anukul Anand

    10/18/2022, 7:31 PM
    Cool
  • a

    Anukul Anand

    10/18/2022, 7:31 PM
    Will do that
  • a

    Anukul Anand

    10/18/2022, 7:31 PM
    thanks for the help
  • a

    Anukul Anand

    10/18/2022, 7:32 PM
    also do you have any repos of yours with next.js consisting of some api related stuffs as in your custom APIs
  • r

    Rawa

    10/22/2022, 3:33 PM
    https://github.com/supabase-community/supabase-py/pull/292
  • r

    Rawa

    10/22/2022, 3:33 PM
    @mansueli have to ping until I get a contributor role haha, thanks for taking a look
  • r

    Rawa

    10/23/2022, 1:42 PM
    Plus, some people shared their input on what they'd like to see in the library next on my reddit post https://www.reddit.com/r/Supabase/comments/yasyje/any_supabasepy_users_here/
  • b

    baderdean

    10/23/2022, 2:53 PM
    Hello, I was wondering why one should use a library over HTTPS requests?
  • r

    Rawa

    10/23/2022, 3:04 PM
    @baderdean Most of the libraries are made by people with deep background in Supabase, which means such libraries are updated with the latest changes from the main JS library. They also help reduce coding errors, make programmers more efficient, and make software smaller in size (and lines of code). Instead of writing long lines of code to accomplish a common task, coders can simply call upon a library to perform a task
  • b

    baderdean

    10/24/2022, 7:14 AM
    what you're saying is generic to libraries, yet if I only use 2/3 endpoints of the REST API, I'm not sure it will reduce size of my code. REST API request is only one line after all.
  • b

    baderdean

    10/24/2022, 7:15 AM
    I was wondering if the libraries does something more than just calling the API, does it automatically does some magic like choosing between different options, bulk if needed and so on
  • r

    Rawa

    10/24/2022, 7:43 AM
    REST requests are one lines, yes. How about the proper encoding / decoding where applicable, proper deserialization? and a lot more i could say
  • r

    Rawa

    10/24/2022, 7:44 AM
    They’re no different, the libraries are in an alpha stage which one could say it’s equivalent to hardcoded https requests (expect for the JS lib, It’s perfect)
  • b

    baderdean

    10/24/2022, 7:47 AM
    it's JSON isn't it? I never hit any problem with a lib like requests...
  • r

    Rawa

    10/24/2022, 8:59 AM
    it s JSON isn t it I never hit any
  • l

    leynier

    10/24/2022, 11:25 AM
    The gotrue client libraries, for example, keep the session stored, refresh it when necessary, among other things. As well as giving you classes as response and not json which are hard to maintain.
  • b

    baderdean

    10/24/2022, 11:37 AM
    thanks, so for the moment the python rest API only reduces one step of translating the JSON into a native type/class
  • s

    silentworks

    10/24/2022, 2:55 PM
    Hello I was wondering why one should use
  • r

    Rawa

    10/24/2022, 8:20 PM
    You can now ask questions on SO with the official supabase-py tag attached and get help from the python community around supabase https://stackoverflow.com/questions/tagged/supabase-py Edit: I created the tag, the tag wiki is pending approval.
  • m

    mansueli

    10/25/2022, 1:26 PM
    Newest 'supabase-py' Questions
1...1516171819Latest