File: types.py

package info (click to toggle)
django-graphene 3.2.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 8,996 kB
  • sloc: javascript: 25,534; python: 11,992; makefile: 233; sh: 4
file content (9 lines) | stat: -rw-r--r-- 174 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
from graphene_django.types import DjangoObjectType

from .models import Pet


class PetType(DjangoObjectType):
    class Meta:
        model = Pet
        fields = "__all__"