cloudflare / cloudflare/python-workers-examples
FastAPI Example: TypeError: response.body.arrayBuffer is not a function
Open
- Dominant language
- Python
- Stars
- 309
- Forks
- 69
- Avg merge
- 3d 11h
- Merged PRs (30d)
- 13
Description
I am getting this error on the fastapi example:
Starting local server...
[wrangler:inf] Ready on http://127.0.0.1:8787
Loading fastapi, starlette, anyio, sniffio, openssl, pydantic, typing-extensions, pydantic-core, annotated-types
X [ERROR] Error in makeHandler
X [ERROR] Uncaught (in promise) TypeError: response.body.arrayBuffer is not a function
at loadBundle (pyodide-internal:loadPackage:36:36)
I can't figure it out at all. Maybe import asgi does not work anymore?
Contributor guide
Assessment
This issue has not been assessed yet.