fastapi-events
fastapi-events copied to clipboard
Asynchronous event dispatching/handling library for FastAPI and Starlette
Is there a way to trigger an event at the startup of the application? I've been trying to do so with variations of the following piece of code: ``` app...
I cannot find a way to catch Exceptions properly using the SQSForwardHandler with a classic try catch inside my api.
https://github.com/samuelcolvin/aioaws - is an asyncio friendly alternative to boto3
The SQS handler is a good start, but it would be great if I could use fastapi events with SNS. I know I could write a local handler or write...
Today, an event with multiple local handlers registered can interfere with each other as all handlers are given the same shared copy of events. For instance, ``` # anywhere in...
I banged my head against the wall with this one for a while before I found the problem. **Steps to reproduce:** 1. Request is made to FastAPI which dispatches a...
As titled, a referenced PR can be found here: https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1229