Skip to content

Commit cbf0a22

Browse files
committed
Add free lins to match code lint checks
1 parent e5bdaec commit cbf0a22

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

graphene_sqlalchemy/fields.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,14 @@ def connection_resolver(cls, resolver, connection, model, root, args, context, i
4242
def get_resolver(self, parent_resolver):
4343
return partial(self.connection_resolver, parent_resolver, self.type, self.model)
4444

45+
4546
__connectionFactory = SQLAlchemyConnectionField
47+
48+
4649
def createConnectionField(_type):
4750
return __connectionFactory(_type)
4851

52+
4953
def registerConnectionFieldFactory(factoryMethod):
5054
global __connectionFactory
51-
__connectionFactory = factoryMethod
55+
__connectionFactory = factoryMethod

0 commit comments

Comments
 (0)