File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ This example shows how to use ``Dependency Injector`` with `FastStream <https://
1313The source code is available on the `Github <https://github.com/ets-labs/python-dependency-injector/tree/master/examples/miniapps/faststream >`_.
1414
1515Despite ``FastStream `` uses ``FastDepends `` library for dependency injection, the integration between
16- ``Dependency injector `` and ``FastStream `` has a small difference from already existing :ref: `fastdepends ` example.
16+ ``Dependency injector `` and ``FastStream `` has a small difference from already existing :ref: `fastdepends- example ` .
1717
1818Since ``FastStream `` also leverages function signatures to determine input data types you have to use ``Depends() `` function
1919with ``cast=False `` argument to make ``FastStream `` ignore your injected dependency argument in the function signature.
@@ -23,12 +23,12 @@ message schema (``User``) and injected dependency (``Counter``) and use them bot
2323
2424Listing of ``consumer.py ``:
2525
26- .. literalinclude :: ../../examples/miniapps/faststream/src/ consumer.py
26+ .. literalinclude :: ../../examples/miniapps/faststream/consumer.py
2727 :language: python
2828
2929Listing of ``producer.py ``:
3030
31- .. literalinclude :: ../../examples/miniapps/faststream/src/ producer.py
31+ .. literalinclude :: ../../examples/miniapps/faststream/producer.py
3232 :language: python
3333
3434Sources
You can’t perform that action at this time.
0 commit comments