<reponame>gp-shubham/django-graphql-boilerplate<filename>graphql_project/users/schemas/schema.py<gh_stars>0
from graphene_django import DjangoObjectType
from django.contrib.auth import get_user_model


User = get_user_model()


class UserType(DjangoObjectType):
    class Meta:
        model = User
        only_fields = ('id', 'name', 'username', 'email', 'password')
