fixed: wrong example for interface

This commit is contained in:
SangHee Kim 2016-11-21 11:41:35 -05:00 committed by GitHub
parent 67c0872c9f
commit 11996e9121

View File

@ -23,14 +23,14 @@ This example model defines a Character, which has a name. ``Human`` and
name = graphene.String()
# Human is a Character implementation
class Human(ObjectType):
class Human(graphene.ObjectType):
class Meta:
interfaces = (Character, )
born_in = graphene.String()
# Droid is a Character implementation
class Droid(Character):
class Droid(graphene.ObjectType):
class Meta:
interfaces = (Character, )