From 782553b882dd7c26ed951d18fec98d9e39dadba3 Mon Sep 17 00:00:00 2001 From: Rustam Ganeyev Date: Sat, 26 Dec 2020 19:25:44 +0000 Subject: [PATCH] Fixed typo in documentation Added missing kwargs to documentation --- docs/queries.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/queries.rst b/docs/queries.rst index 02a2bf2..d2da781 100644 --- a/docs/queries.rst +++ b/docs/queries.rst @@ -287,7 +287,7 @@ Where "foo" is the name of the field declared in the ``Query`` object. class Query(graphene.ObjectType): foo = graphene.List(QuestionType) - def resolve_foo(root, info): + def resolve_foo(root, info, **kwargs): id = kwargs.get("id") return Question.objects.get(id)