mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-13 17:52:19 +03:00
pep8 fix: W293
This commit is contained in:
parent
2c6faa63c2
commit
b4be0d1837
|
@ -66,7 +66,7 @@ class DjangoConnectionField(ConnectionField):
|
|||
return getattr(self.model, self.on)
|
||||
else:
|
||||
return self.model._default_manager
|
||||
|
||||
|
||||
@classmethod
|
||||
def resolve_queryset(cls, connection, queryset, info, args):
|
||||
return connection._meta.node.get_queryset(queryset, info)
|
||||
|
|
|
@ -126,7 +126,7 @@ class DjangoObjectType(ObjectType):
|
|||
|
||||
model = root._meta.model._meta.concrete_model
|
||||
return model == cls._meta.model
|
||||
|
||||
|
||||
@classmethod
|
||||
def get_queryset(cls, queryset, info):
|
||||
return queryset
|
||||
|
|
Loading…
Reference in New Issue
Block a user