📝 Clarify docs for APIRouter dependencies (#698)

This commit is contained in:
Nicolas Marier 2019-11-27 15:00:34 -05:00 committed by Sebastián Ramírez
parent 55165f292a
commit 3cf8b86dc1
1 changed files with 1 additions and 1 deletions

View File

@ -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!}