From fc582baf406fb5045aaef3f6970ce0aff5498abc Mon Sep 17 00:00:00 2001 From: Kyrylo Khatsko Date: Fri, 2 Sep 2022 14:38:10 +0300 Subject: [PATCH] Fix documentation typing in schema.py for v2 (#1335) --- graphene/types/schema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphene/types/schema.py b/graphene/types/schema.py index 07c25763..738ed746 100644 --- a/graphene/types/schema.py +++ b/graphene/types/schema.py @@ -34,7 +34,7 @@ class Schema(GraphQLSchema): about the types through introspection. Args: - query (ObjectType): Root query *ObjectType*. Describes entry point for fields to *read* + query (Type[ObjectType]): Root query *ObjectType*. Describes entry point for fields to *read* data in your Schema. mutation (ObjectType, optional): Root mutation *ObjectType*. Describes entry point for fields to *create, update or delete* data in your API.