airtai / faststream

FastStream is a powerful and easy-to-use Python framework for building asynchronous services interacting with event streams such as Apache Kafka, RabbitMQ, NATS and Redis.
https://faststream.airt.ai/latest/
Apache License 2.0
3.15k stars 161 forks source link

fastapi example update #1875

Closed xodiumx closed 3 weeks ago

xodiumx commented 3 weeks ago

Description

Since FastAPI 0.112.2 it is not necessary to specify lifespan_context manually.