1.2.2.3. schema

1.2.2.3.1. Classes

class Query(*args, **kwargs)[source]

Bases: graphene.types.objecttype.ObjectType

This is the root query object used for GraphQL queries.

class Schema(**kwargs)[source]

Bases: graphene.types.schema.Schema

This is the top level schema object for GraphQL. It automatically sets up sane defaults to be used by the King Phisher server including setting the query to Query and adding the AuthorizationMiddleware to each execution.