mirror of
https://github.com/graphql-python/graphene.git
synced 2025-07-16 19:12:21 +03:00
Fix documentation typing in schema.py
Fixed type of Schema(query) to correct one `Type[ObjectType]`
This commit is contained in:
parent
afa44e8a5f
commit
db321997b7
|
@ -34,7 +34,8 @@ class Schema(GraphQLSchema):
|
||||||
about the types through introspection.
|
about the types through introspection.
|
||||||
|
|
||||||
Args:
|
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.
|
data in your Schema.
|
||||||
mutation (ObjectType, optional): Root mutation *ObjectType*. Describes entry point for
|
mutation (ObjectType, optional): Root mutation *ObjectType*. Describes entry point for
|
||||||
fields to *create, update or delete* data in your API.
|
fields to *create, update or delete* data in your API.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user