No badges yet
No accepted solutions yet
Python FastAPI state not exist on Vercel but does locally - lifespan
Ok that suggestion didn't quite work and I had to iterate quite a number of times more with Vercel AI. Here is the result for the 2 files different to the above. I don't like this...
Python FastAPI state not exist on Vercel but does locally - lifespan
Ok, after a bit of back-and-forth with the Vercel AI, we came up with the following solution. It is untested but from my limited experience it should work - with two gotchas. 1)...
Python FastAPI state not exist on Vercel but does locally - lifespan
<!-- Questions that get answered the fastest are the ones with relevant info included in the original post. Be sure to include all detail needed to let others see and understand...
Python typings packages breaks FastAPI on Vercel
Ok, the suggested change fixed the problem, however I haven't got much futher and have received a new one. I will create a separate help for that.
Python typings packages breaks FastAPI on Vercel
[quote="Brooke, post:1, topic:2598, username:brooke-tintunacom"] `AttributeError: type object 'Callable' has no attribute '_abc_registry'` [/quote] I found...
Python typings packages breaks FastAPI on Vercel
I wrote a Python API using FastAPI and deployed to Vercel and it just kept failing with error "This Serverless Function has crashed" no matter what i tried. I am new to Python APIs...