Update quickstart example

Running the example previously resulted in a FutureWarning.
This commit is contained in:
Erik Eng 2015-11-20 16:59:33 +01:00
parent 86cf258e38
commit 1a3acd1199

View File

@ -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'