We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a6556a commit 270332dCopy full SHA for 270332d
examples/fastapi_integration/app.py
@@ -3,7 +3,7 @@
3
from faststream.rabbit.fastapi import Logger, RabbitRouter
4
5
router = RabbitRouter("amqp://guest:guest@localhost:5672/")
6
-app = FastAPI(lifespan=router.lifespan_context)
+app = FastAPI()
7
8
publisher = router.publisher("response-q")
9
0 commit comments