Commit f21ec85
authored
Fix tutorial.rst code sample that raises exception
If you try doing "schema = graphene.Schema", as this tutorial did, you get "AssertionError: Schema query must be Object Type but got: None." Instead you have to pass the query in on init.1 parent c1a0cae commit f21ec85
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | | - | |
100 | 98 | | |
101 | 99 | | |
102 | 100 | | |
| |||
114 | 112 | | |
115 | 113 | | |
116 | 114 | | |
117 | | - | |
| 115 | + | |
118 | 116 | | |
119 | 117 | | |
120 | 118 | | |
| |||
0 commit comments