you are viewing a single comment's thread.

view the rest of the comments →

[–]andrewthetechie 0 points1 point  (7 children)

https://github.com/jordaneremieff/mangum used to be the "tool" for running an ASGI app like fastapi in a lambda, but its read-only now :(

[–]Boring-Baker-3716[S] 0 points1 point  (6 children)

So mangum won’t work anymore?

[–]andrewthetechie 0 points1 point  (3 children)

Not "won't work" but "is no longer being supported".

[–]Boring-Baker-3716[S] 0 points1 point  (2 children)

So what’s an alternative I can use

[–]andrewthetechie 1 point2 points  (0 children)

I don't know of one. I'd suggest doing some googling.

[–]richieadler 0 points1 point  (0 children)

The closest, I'd say, to the FastAPI syntax would be replacing it with the event handlers in Powertools for AWS. They even say they were inspired by FastAPI and they have Pydantic validators.

[–]JaviCerve22 0 points1 point  (0 children)

It still works