Skip to content

Commit a6ead37

Browse files
committed
fix bad internal link in README
Signed-off-by: Grant Ramsay <seapagan@gmail.com>
1 parent 9453be5 commit a6ead37

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -326,9 +326,10 @@ def get_user(id: int, db: Session = Depends(get_db)):
326326
return db.query(models.User).filter(models.User.id == id).first()
327327
```
328328

329-
In the [Initialize Redis](#initialize-redis) section of this document, the
330-
`FastApiRedisCache.init` method was called with `ignore_arg_types=[Request,
331-
Response, Session]`. Why is it necessary to include `Session` in this list?
329+
In the [Initialize Redis](#initialize-redis-in-your-fastapi-application) section
330+
of this document, the `FastApiRedisCache.init` method was called with
331+
`ignore_arg_types=[Request, Response, Session]`. Why is it necessary to include
332+
`Session` in this list?
332333

333334
Before we can answer that question, we must understand how a cache key is
334335
created. If the following request was received: `GET /get_user?id=1`, the cache

0 commit comments

Comments
 (0)