Просмотр исходного кода

Stop pulling the schema, it's optional and hits a github/gql incompatibility (not sure whose bug) (#306)

Should fix #300
Jon Meow 5 лет назад
Родитель
Сommit
a09693b38d
1 измененных файлов с 1 добавлено и 3 удалено
  1. 1 3
      github_tools/github_helpers.py

+ 1 - 3
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."""