Skip to content

Commit cfb7e3c

Browse files
Update relationships.md
1 parent 7126163 commit cfb7e3c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/tutorial/fastapi/relationships.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ And the same way, we declared the `TeamPublic` with only the same base fields of
4848

4949
{* ./docs_src/tutorial/fastapi/teams/tutorial001_py310.py ln[20:21] hl[3:5,9:10,23-24] *}
5050

51-
{* ./docs_src/tutorial/fastapi/teams/tutorial001_py310.py[ln:29-34] hl[3:5,9:10,23-24] *}
51+
{* ./docs_src/tutorial/fastapi/teams/tutorial001_py310.py ln[29:34] hl[3:5,9:10,23-24] *}
5252

53-
{* ./docs_src/tutorial/fastapi/teams/tutorial001_py310.py[ln:43-44] hl[3:5,9:10,23-24] *}
53+
{* ./docs_src/tutorial/fastapi/teams/tutorial001_py310.py ln[43:44] hl[3:5,9:10,23-24] *}
5454

5555
/// details | 👀 Full file preview
5656

@@ -60,9 +60,9 @@ Now, remember that <a href="https://fastapi.tiangolo.com/tutorial/response-model
6060

6161
In this case, we used `response_model=TeamPublic` and `response_model=HeroPublic`, so FastAPI will use them to filter the response data, even if we return a **table model** that includes **relationship attributes**:
6262

63-
{* ./docs_src/tutorial/fastapi/teams/tutorial001_py310.py ln[102:107] hl=[3,8,12,17] *}
63+
{* ./docs_src/tutorial/fastapi/teams/tutorial001_py310.py ln[102:107] hl[3,8,12,17] *}
6464

65-
{* ./docs_src/tutorial/fastapi/teams/tutorial001_py310.py ln[156:161] hl=[3,8,12,17] *}
65+
{* ./docs_src/tutorial/fastapi/teams/tutorial001_py310.py ln[156:161] hl[3,8,12,17] *}
6666

6767
/// details | 👀 Full file preview
6868

0 commit comments

Comments
 (0)