Skip to content

Commit 8da130f

Browse files
committed
Better FastDepends documentation wording
1 parent 957051c commit 8da130f

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

docs/examples/fastdepends.rst

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,12 @@ FastDepends example
88
:description: This example demonstrates a usage of the FastDepends and Dependency Injector.
99

1010

11-
This example shows how to use ``Dependency Injector`` with `FastDepends <https://github.com/Lancetnik/FastDepends>`_.
11+
This example demonstrates how to use ``Dependency Injector`` with `FastDepends <https://github.com/Lancetnik/FastDepends>`_, a lightweight dependency injection framework inspired by FastAPI's dependency system, but without the web framework components.
1212

13-
Example code is available on `Github <https://github.com/ets-labs/python-dependency-injector/tree/master/tests/unit/wiringfastdepends>`_.
13+
Basic Usage
14+
-----------
1415

15-
Quick sample
16-
------------
17-
18-
Just use it within ``Depends``
16+
The integration between FastDepends and Dependency Injector is straightforward. Simply use Dependency Injector's ``Provide`` marker within FastDepends' ``Depends`` function:
1917

2018
.. code-block:: python
2119

0 commit comments

Comments
 (0)