diff --git a/docs/examples/fastdepends.rst b/docs/examples/fastdepends.rst index a25292f6..5dc64fc4 100644 --- a/docs/examples/fastdepends.rst +++ b/docs/examples/fastdepends.rst @@ -8,14 +8,12 @@ FastDepends example :description: This example demonstrates a usage of the FastDepends and Dependency Injector. -This example shows how to use ``Dependency Injector`` with `FastDepends `_. +This example demonstrates how to use ``Dependency Injector`` with `FastDepends `_, a lightweight dependency injection framework inspired by FastAPI's dependency system, but without the web framework components. -Example code is available on `Github `_. +Basic Usage +----------- -Quick sample ------------- - -Just use it within ``Depends`` +The integration between FastDepends and Dependency Injector is straightforward. Simply use Dependency Injector's ``Provide`` marker within FastDepends' ``Depends`` function: .. code-block:: python