Skip to content

Commit e6042ad

Browse files
committed
Remove batch from schema due to pytest-benchmark lack of support
1 parent 30fc2df commit e6042ad

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

graphene_sqlalchemy/tests/test_benchmark.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import graphene
44
from graphene import relay
55

6-
from ..fields import BatchSQLAlchemyConnectionField
76
from ..types import SQLAlchemyObjectType
87
from .models import Article, HairKind, Pet, Reporter
98
from .utils import is_sqlalchemy_version_less_than
@@ -17,19 +16,16 @@ class ReporterType(SQLAlchemyObjectType):
1716
class Meta:
1817
model = Reporter
1918
interfaces = (relay.Node,)
20-
connection_field_factory = BatchSQLAlchemyConnectionField.from_relationship
2119

2220
class ArticleType(SQLAlchemyObjectType):
2321
class Meta:
2422
model = Article
2523
interfaces = (relay.Node,)
26-
connection_field_factory = BatchSQLAlchemyConnectionField.from_relationship
2724

2825
class PetType(SQLAlchemyObjectType):
2926
class Meta:
3027
model = Pet
3128
interfaces = (relay.Node,)
32-
connection_field_factory = BatchSQLAlchemyConnectionField.from_relationship
3329

3430
class Query(graphene.ObjectType):
3531
articles = graphene.Field(graphene.List(ArticleType))

0 commit comments

Comments
 (0)