From 15256d20a2a0e4fc4983ae3e8b50a7dbf9f100d8 Mon Sep 17 00:00:00 2001 From: Eran Kampf <205185+ekampf@users.noreply.github.com> Date: Thu, 19 Jul 2018 15:19:13 -0700 Subject: [PATCH] Expose `HttpQueryError` in `__all__` `HttpQueryError` not part of `__all__` is a breaking change to libraries like `sanic-graphql` who rely on importing it: https://github.com/graphql-python/sanic-graphql/blob/master/sanic_graphql/graphqlview.py#L12 --- graphql_server/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/graphql_server/__init__.py b/graphql_server/__init__.py index 49a52a2..58b2f7e 100644 --- a/graphql_server/__init__.py +++ b/graphql_server/__init__.py @@ -203,6 +203,7 @@ def load_json_body(data): __all__ = [ + "HttpQueryError", "default_format_error", "SkipException", "run_http_query",