From 11996e9121dc897ff67b0d4127d824136f06973b Mon Sep 17 00:00:00 2001 From: SangHee Kim Date: Mon, 21 Nov 2016 11:41:35 -0500 Subject: [PATCH] fixed: wrong example for interface --- docs/types/interfaces.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/types/interfaces.rst b/docs/types/interfaces.rst index ee0410a7..476d2bd3 100644 --- a/docs/types/interfaces.rst +++ b/docs/types/interfaces.rst @@ -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, )