__init__.py 733 B

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