We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 842c908 + 12750b5 commit b720884Copy full SHA for b720884
README.md
@@ -75,13 +75,14 @@ When using InMemoryBroker you can manually update the dependency context.
75
This might come handy when setting up tests.
76
77
```python
78
+from litestar import Litestar
79
import taskiq_litestar
80
from taskiq import InMemoryBroker
81
82
broker = InMemoryBroker()
83
-app = FastAPI()
84
+app = Litestar()
85
-taskiq_fastapi.init(broker, "test_script:app")
86
-taskiq_fastapi.populate_dependency_context(broker, app)
+taskiq_litestar.init(broker, "test_script:app")
87
+taskiq_litestar.populate_dependency_context(broker, app)
88
```
0 commit comments