mirror of
https://github.com/graphql-python/graphene.git
synced 2025-07-26 07:49:53 +03:00
fix blank lines
This commit is contained in:
parent
5202fed41a
commit
bc4896af91
|
@ -46,10 +46,10 @@ class ConnectionField(Field):
|
||||||
|
|
||||||
def get_connection_type(self, node):
|
def get_connection_type(self, node):
|
||||||
connection_type = self.connection_type or node.get_connection_type()
|
connection_type = self.connection_type or node.get_connection_type()
|
||||||
|
|
||||||
if issubclass(connection_type, SimpleConnection):
|
if issubclass(connection_type, SimpleConnection):
|
||||||
return connection_type.for_node(node)
|
return connection_type.for_node(node)
|
||||||
|
|
||||||
edge_type = self.get_edge_type(node)
|
edge_type = self.get_edge_type(node)
|
||||||
return connection_type.for_node(node, edge_type=edge_type)
|
return connection_type.for_node(node, edge_type=edge_type)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user