Debian Codegraph @

src/graphql/subscription/__init__.py

raw
1 """GraphQL Subscription
2
3 The :mod:`graphql.subscription` package is responsible for subscribing to updates
4 on specific data.
5
6 .. deprecated:: 3.2
7 This package has been deprecated with its exported functions integrated into the
8 :mod:`graphql.execution` package, to better conform with the terminology of the
9 GraphQL specification. For backwards compatibility, the :mod:`graphql.subscription`
10 package currently re-exports the moved functions from the :mod:`graphql.execution`
11 package. In v3.3, the :mod:`graphql.subscription` package will be dropped entirely.
12 """
13
14 from ..execution import subscribe, create_source_event_stream, MapAsyncIterator
15
16 __all__ = ["subscribe", "create_source_event_stream", "MapAsyncIterator"]