mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-04 12:23:13 +03:00
Fixing imports
This commit is contained in:
parent
3379266154
commit
f110f24681
|
@ -10,8 +10,9 @@ from graphene.utils.get_unbound_function import get_unbound_function
|
||||||
from graphql_relay.connection.arrayconnection import connection_from_list_slice
|
from graphql_relay.connection.arrayconnection import connection_from_list_slice
|
||||||
from promise import Promise
|
from promise import Promise
|
||||||
|
|
||||||
|
from graphene_django.utils.utils import auth_resolver
|
||||||
from .settings import graphene_settings
|
from .settings import graphene_settings
|
||||||
from .utils import maybe_queryset, auth_resolver
|
from .utils import maybe_queryset
|
||||||
|
|
||||||
|
|
||||||
class DjangoListField(Field):
|
class DjangoListField(Field):
|
||||||
|
|
|
@ -12,10 +12,11 @@ from graphene.relay import Connection, Node
|
||||||
from graphene.types.objecttype import ObjectType, ObjectTypeOptions
|
from graphene.types.objecttype import ObjectType, ObjectTypeOptions
|
||||||
from graphene.types.utils import yank_fields_from_attrs
|
from graphene.types.utils import yank_fields_from_attrs
|
||||||
|
|
||||||
|
from graphene_django.utils.utils import auth_resolver
|
||||||
from .converter import convert_django_field_with_choices
|
from .converter import convert_django_field_with_choices
|
||||||
from .registry import Registry, get_global_registry
|
from .registry import Registry, get_global_registry
|
||||||
from .settings import graphene_settings
|
from .settings import graphene_settings
|
||||||
from .utils import DJANGO_FILTER_INSTALLED, get_model_fields, is_valid_django_model, camelize, auth_resolver
|
from .utils import DJANGO_FILTER_INSTALLED, get_model_fields, is_valid_django_model, camelize
|
||||||
|
|
||||||
if six.PY3:
|
if six.PY3:
|
||||||
from typing import Type
|
from typing import Type
|
||||||
|
|
Loading…
Reference in New Issue
Block a user