From: Denys Marichev Date: Thu, 7 Oct 2021 14:07:46 +0000 (+0300) Subject: ✏ Fix typo about file path in `docs/en/docs/tutorial/bigger-applications.md` (#3285) X-Git-Tag: 0.69.0~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7efdc110759a318775599d22c34c9a1de2e4e13e;p=thirdparty%2Ffastapi%2Ffastapi.git ✏ Fix typo about file path in `docs/en/docs/tutorial/bigger-applications.md` (#3285) Co-authored-by: Sebastián Ramírez --- diff --git a/docs/en/docs/tutorial/bigger-applications.md b/docs/en/docs/tutorial/bigger-applications.md index 2796d7fb19..2a2e764b59 100644 --- a/docs/en/docs/tutorial/bigger-applications.md +++ b/docs/en/docs/tutorial/bigger-applications.md @@ -234,7 +234,7 @@ mean: * Starting in the same package that this module (the file `app/routers/items.py`) lives in (the directory `app/routers/`)... * go to the parent package (the directory `app/`)... -* and in there, find the module `dependencies` (the file at `app/routers/dependencies.py`)... +* and in there, find the module `dependencies` (the file at `app/dependencies.py`)... * and from it, import the function `get_token_header`. That works correctly! 🎉 @@ -252,7 +252,7 @@ that would mean: * Starting in the same package that this module (the file `app/routers/items.py`) lives in (the directory `app/routers/`)... * go to the parent package (the directory `app/`)... * then go to the parent of that package (there's no parent package, `app` is the top level 😱)... -* and in there, find the module `dependencies` (the file at `app/routers/dependencies.py`)... +* and in there, find the module `dependencies` (the file at `app/dependencies.py`)... * and from it, import the function `get_token_header`. That would refer to some package above `app/`, with its own file `__init__.py`, etc. But we don't have that. So, that would throw an error in our example. 🚨