From a09693b38d7bcebdd1f125ca3e9a34b323a7ff94 Mon Sep 17 00:00:00 2001 From: Jon Meow <46229924+jonmeow@users.noreply.github.com> Date: Fri, 26 Feb 2021 15:05:03 -0800 Subject: [PATCH] Stop pulling the schema, it's optional and hits a github/gql incompatibility (not sure whose bug) (#306) Should fix #300 --- github_tools/github_helpers.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/github_tools/github_helpers.py b/github_tools/github_helpers.py index 5f7104b0cd30..d03ddc27ab48 100644 --- a/github_tools/github_helpers.py +++ b/github_tools/github_helpers.py @@ -48,9 +48,7 @@ class Client(object): url="https://api.github.com/graphql", headers={"Authorization": "bearer %s" % parsed_args.access_token}, ) - self._client = gql.Client( - transport=transport, fetch_schema_from_transport=True - ) + self._client = gql.Client(transport=transport) def execute(self, query): """Runs a query."""