From 8da130fbd2589d130d5f4d64dc47ca3a34ecd190 Mon Sep 17 00:00:00 2001 From: ZipFile Date: Mon, 16 Jun 2025 07:07:24 +0000 Subject: [PATCH] Better FastDepends documentation wording --- docs/examples/fastdepends.rst | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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