We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf60aca commit 21ec116Copy full SHA for 21ec116
graphene/relay/types.py
@@ -20,7 +20,8 @@
20
class PageInfo(ObjectType):
21
22
def __init__(self, start_cursor="", end_cursor="",
23
- has_previous_page=False, has_next_page=False):
+ has_previous_page=False, has_next_page=False, **kwargs):
24
+ super(PageInfo, self).__init__(**kwargs)
25
self.startCursor = start_cursor
26
self.endCursor = end_cursor
27
self.hasPreviousPage = has_previous_page
@@ -58,7 +59,8 @@ def for_node(cls, node):
58
59
class Connection(ObjectType):
60
'''A connection to a list of items.'''
61
- def __init__(self, edges, page_info):
62
+ def __init__(self, edges, page_info, **kwargs):
63
+ super(Connection, self).__init__(**kwargs)
64
self.edges = edges
65
self.pageInfo = page_info
66
0 commit comments