Skip to content

Commit e9cc01d

Browse files
committed
Fix broken references in faststream example doc
1 parent 0e45901 commit e9cc01d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/examples/faststream.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This example shows how to use ``Dependency Injector`` with `FastStream <https://
1313
The source code is available on the `Github <https://github.com/ets-labs/python-dependency-injector/tree/master/examples/miniapps/faststream>`_.
1414

1515
Despite ``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

1818
Since ``FastStream`` also leverages function signatures to determine input data types you have to use ``Depends()`` function
1919
with ``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

2424
Listing of ``consumer.py``:
2525

26-
.. literalinclude:: ../../examples/miniapps/faststream/src/consumer.py
26+
.. literalinclude:: ../../examples/miniapps/faststream/consumer.py
2727
:language: python
2828

2929
Listing of ``producer.py``:
3030

31-
.. literalinclude:: ../../examples/miniapps/faststream/src/producer.py
31+
.. literalinclude:: ../../examples/miniapps/faststream/producer.py
3232
:language: python
3333

3434
Sources

0 commit comments

Comments
 (0)