File tree Expand file tree Collapse file tree 1 file changed +1
-55
lines changed
docs/tutorial/relationship-attributes Expand file tree Collapse file tree 1 file changed +1
-55
lines changed Original file line number Diff line number Diff line change 22
33In the first Relationship attribute, we declare it with ` List["Hero"] ` , putting the ` Hero ` in quotes instead of just normally there:
44
5- //// tab | Python 3.10+
6-
7- ``` Python hl_lines="9"
8- {!./ docs_src/ tutorial/ relationship_attributes/ define_relationship_attributes/ tutorial001_py310.py[ln:1 - 19 ]!}
9-
10- # Code below omitted 👇
11- ```
12-
13- ////
14-
15- //// tab | Python 3.9+
16-
17- ``` Python hl_lines="11"
18- {!./ docs_src/ tutorial/ relationship_attributes/ define_relationship_attributes/ tutorial001_py39.py[ln:1 - 21 ]!}
19-
20- # Code below omitted 👇
21- ```
22-
23- ////
24-
25- //// tab | Python 3.7+
26-
27- ``` Python hl_lines="11"
28- {!./ docs_src/ tutorial/ relationship_attributes/ define_relationship_attributes/ tutorial001.py[ln:1 - 21 ]!}
29-
30- # Code below omitted 👇
31- ```
32-
33- ////
34-
35- /// details | 👀 Full file preview
36-
37- //// tab | Python 3.10+
38-
39- ``` Python
40- {!./ docs_src/ tutorial/ relationship_attributes/ define_relationship_attributes/ tutorial001_py310.py!}
41- ```
42-
43- ////
44-
45- //// tab | Python 3.9+
46-
47- ``` Python
48- {!./ docs_src/ tutorial/ relationship_attributes/ define_relationship_attributes/ tutorial001_py39.py!}
49- ```
50-
51- ////
52-
53- //// tab | Python 3.7+
54-
55- ``` Python
56- {!./ docs_src/ tutorial/ relationship_attributes/ define_relationship_attributes/ tutorial001.py!}
57- ```
58-
59- ////
5+ {* ./docs_src/tutorial/relationship_attributes/define_relationship_attributes/tutorial001_py310.py ln[ 1:19] hl[ 9] * }
606
617///
628
You can’t perform that action at this time.
0 commit comments