Browse Source

docs: replace "dependant" with "dependent" in heading

pull/15383/head
Codex 3 months ago
parent
commit
fd29c646b7
  1. 2
      docs/en/docs/tutorial/dependencies/index.md

2
docs/en/docs/tutorial/dependencies/index.md

@ -65,7 +65,7 @@ Make sure you [Upgrade the FastAPI version](../../deployment/versions.md#upgradi
{* ../../docs_src/dependencies/tutorial001_an_py310.py hl[3] *}
### Declare the dependency, in the "dependant" { #declare-the-dependency-in-the-dependant }
### Declare the dependency, in the "dependent" { #declare-the-dependency-in-the-dependent }
The same way you use `Body`, `Query`, etc. with your *path operation function* parameters, use `Depends` with a new parameter:

Loading…
Cancel
Save