Skip to content

Commit

Permalink
lint: fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
Lancetnik committed Jul 24, 2024
1 parent 4c81e3c commit fbe4bb7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions serve.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from fastapi import FastAPI

from faststream.kafka.fastapi import KafkaRouter

router = KafkaRouter(schema_url=None)
app = FastAPI(lifespan=router.lifespan_context)
app.include_router(router)

0 comments on commit fbe4bb7

Please sign in to comment.