Skip to content

Commit b720884

Browse files
authored
Merge pull request #1 from GefMar/ReadmeDocFix
Readme example variable naming Fix
2 parents 842c908 + 12750b5 commit b720884

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,14 @@ When using InMemoryBroker you can manually update the dependency context.
7575
This might come handy when setting up tests.
7676

7777
```python
78+
from litestar import Litestar
7879
import taskiq_litestar
7980
from taskiq import InMemoryBroker
8081

8182
broker = InMemoryBroker()
8283

83-
app = FastAPI()
84+
app = Litestar()
8485

85-
taskiq_fastapi.init(broker, "test_script:app")
86-
taskiq_fastapi.populate_dependency_context(broker, app)
86+
taskiq_litestar.init(broker, "test_script:app")
87+
taskiq_litestar.populate_dependency_context(broker, app)
8788
```

0 commit comments

Comments
 (0)