From: Nicolas Marier Date: Wed, 27 Nov 2019 20:00:34 +0000 (-0500) Subject: :pencil: Clarify docs for APIRouter dependencies (#698) X-Git-Tag: 0.44.0~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3cf8b86dc1936d367775b854292873d3b0bd51fd;p=thirdparty%2Ffastapi%2Ffastapi.git :pencil: Clarify docs for APIRouter dependencies (#698) --- diff --git a/docs/tutorial/bigger-applications.md b/docs/tutorial/bigger-applications.md index 72cc2e2610..54efb2b09f 100644 --- a/docs/tutorial/bigger-applications.md +++ b/docs/tutorial/bigger-applications.md @@ -246,7 +246,7 @@ We can also add a list of `tags` that will be applied to all the *path operation And we can add predefined `responses` that will be included in all the *path operations* too. -And we can add a list of `dependencies` that will be added to all the *path operations* in the router and will be executed/solved for each request made to them. +And we can add a list of `dependencies` that will be added to all the *path operations* in the router and will be executed/solved for each request made to them. Note that, much like dependencies in *path operation decorators*, no value will be passed to your *path operation function*. ```Python hl_lines="8 9 10 14 15 16 17 18 19 20" {!./src/bigger_applications/app/main.py!}