From 88f79b2850e8fc38254d2c1d8f3900bf3f55dea1 Mon Sep 17 00:00:00 2001 From: Christoph Zwerschke Date: Wed, 4 Mar 2020 15:26:09 +0100 Subject: [PATCH] Fix types in Schema docstring (#1100) --- graphene/types/schema.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/graphene/types/schema.py b/graphene/types/schema.py index d54f112a..f1d1337e 100644 --- a/graphene/types/schema.py +++ b/graphene/types/schema.py @@ -374,13 +374,13 @@ class Schema: questions 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 + mutation (Optional[Type[ObjectType]]): Root mutation *ObjectType*. Describes entry point for fields to *create, update or delete* data in your API. - subscription (ObjectType, optional): Root subscription *ObjectType*. Describes entry point + subscription (Optional[Type[ObjectType]]): Root subscription *ObjectType*. Describes entry point for fields to receive continuous updates. - types (List[ObjectType], optional): List of any types to include in schema that + types (Optional[List[Type[ObjectType]]]): List of any types to include in schema that may not be introspected through root types. directives (List[GraphQLDirective], optional): List of custom directives to include in the GraphQL schema. Defaults to only include directives defined by GraphQL spec (@include