mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-14 02:02:20 +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)
|
return getattr(self.model, self.on)
|
||||||
else:
|
else:
|
||||||
return self.model._default_manager
|
return self.model._default_manager
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def resolve_queryset(cls, connection, queryset, info, args):
|
def resolve_queryset(cls, connection, queryset, info, args):
|
||||||
return connection._meta.node.get_queryset(queryset, info)
|
return connection._meta.node.get_queryset(queryset, info)
|
||||||
|
|
|
@ -126,7 +126,7 @@ class DjangoObjectType(ObjectType):
|
||||||
|
|
||||||
model = root._meta.model._meta.concrete_model
|
model = root._meta.model._meta.concrete_model
|
||||||
return model == cls._meta.model
|
return model == cls._meta.model
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def get_queryset(cls, queryset, info):
|
def get_queryset(cls, queryset, info):
|
||||||
return queryset
|
return queryset
|
||||||
|
|
Loading…
Reference in New Issue
Block a user