@Type.
Schema(...) compiles decorated Python root classes automatically. build_schema(...)
provides the equivalent functional API and accepts additional named types, a registry,
and SchemaConfig.
Subscription execution and the streaming subscription transports
(
graphql-transport-ws, SSE, and multipart/mixed) are implemented — see
Subscriptions. The bundled development server does not
host them; run subscriptions through a production framework adapter.