From dab6080fcf36b521107d19c5b55a35b6487da63c Mon Sep 17 00:00:00 2001 From: Rustam Ganeyev Date: Tue, 29 Dec 2020 19:30:10 +0000 Subject: [PATCH] Fixed typo in documentation (#1078) 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)