File tree 1 file changed +6
-6
lines changed
src/graphql_relay/connection
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ def startCursor(self) -> Optional[ConnectionCursor]:
20
20
def endCursor (self ) -> Optional [ConnectionCursor ]:
21
21
...
22
22
23
- def hasPreviousPage (self ) -> Optional [ bool ] :
23
+ def hasPreviousPage (self ) -> bool :
24
24
...
25
25
26
- def hasNextPage (self ) -> Optional [ bool ] :
26
+ def hasNextPage (self ) -> bool :
27
27
...
28
28
29
29
@@ -33,8 +33,8 @@ def __call__(
33
33
* ,
34
34
startCursor : Optional [ConnectionCursor ],
35
35
endCursor : Optional [ConnectionCursor ],
36
- hasPreviousPage : Optional [ bool ] ,
37
- hasNextPage : Optional [ bool ] ,
36
+ hasPreviousPage : bool ,
37
+ hasNextPage : bool ,
38
38
) -> PageInfoType :
39
39
...
40
40
@@ -44,8 +44,8 @@ class PageInfo(NamedTuple):
44
44
45
45
startCursor : Optional [ConnectionCursor ]
46
46
endCursor : Optional [ConnectionCursor ]
47
- hasPreviousPage : Optional [ bool ]
48
- hasNextPage : Optional [ bool ]
47
+ hasPreviousPage : bool
48
+ hasNextPage : bool
49
49
50
50
51
51
class EdgeType (Protocol ):
You can’t perform that action at this time.
0 commit comments