Skip to content

Commit c0556ef

Browse files
author
Denny Weinberg
committed
Added test for connection factory
1 parent 0273538 commit c0556ef

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

graphene_sqlalchemy/fields.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,8 @@ def createConnectionField(_type):
5353
def registerConnectionFieldFactory(factoryMethod):
5454
global __connectionFactory
5555
__connectionFactory = factoryMethod
56+
57+
58+
def unregisterConnectionFieldFactory():
59+
global __connectionFactory
60+
__connectionFactory = SQLAlchemyConnectionField

0 commit comments

Comments
 (0)