
Hi guys, i developed an uvicorn app with an 'app' object in my main file but no matter which entrypoint I choose in the function settings it doesnt start the server.
I'm wondering if uvicorn for functions is evren supported? or do i need to rewrite all my uvicorn endpoints to accept through the 'context' param passed to all appwrite functions.
here is a snippet from the uvicorn app file: app = FastAPI()
Allow frontend (Vercel-hosted React) to access backend.
app.add_middleware( CORSMiddleware, allow_origins=[""], # Adjust this in production. allow_credentials=True, allow_methods=[""], allow_headers=["*"], )
Recommended threads
- Function running in cloud but not locall...
Hi everyone, I have an appwrite function which is on python3.12 runtime. I have a library (hnswlib) which builds wheels during installation. This works on appwr...
- Permissions for bulk operation
Hi team, I have a question: “In the databases.createDocuments bulk API, can I set document-level permissions? If yes, how exactly should I include the permissio...
- Limit File Upload count?
Is there a way to limit the number of files a user can upload? I know there's a limit of file size but in my case I'd like to limit the user to only upload x am...
