From 1a3acd1199362e5ffb6fba0fad952b6a61561a4b Mon Sep 17 00:00:00 2001 From: Erik Eng Date: Fri, 20 Nov 2015 16:59:33 +0100 Subject: [PATCH] Update quickstart example Running the example previously resulted in a FutureWarning. --- quickstart.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickstart.md b/quickstart.md index d74c7151..6cd4fb4f 100644 --- a/quickstart.md +++ b/quickstart.md @@ -43,7 +43,7 @@ schema = graphene.Schema() # This will be our root query class Query(graphene.ObjectType): - username = graphene.StringField(description='The username') + username = graphene.String(description='The username') def resolve_username(self, *args): return 'Hello World'