Skip to content

Introspection and Playground

Pygraphy supports GraphQL introspection, and it has already integrated the GraphQL Playground. Try to run the web server which is posted in the quick review at Introduction and visit by a browser, then you can enjoy the playground in developing.


The schema of Introspection are totally wrote with Pygraphy itself: pygraphy/, which proves that Pygraphy has a powerful schema declaration availability.

Playground Settings

Using the attribute of schema class PLAYGROUND_SETTINGS and customize playground settings.

class Schema(pygraphy.Schema):

        "request.credentials": "same-page"

    query: Optional[Query]