Fix documentation typing in schema.py

Fixed type of Schema(query) to correct one `Type[ObjectType]`
This commit is contained in:
Kyrylo Khatsko 2021-05-04 22:22:27 +03:00 committed by GitHub
parent afa44e8a5f
commit db321997b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,8 @@ 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.