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

Should fix #300
This commit is contained in:
Jon Meow
2021-02-26 15:05:03 -08:00
committed by GitHub
parent 4383b9fd92
commit a09693b38d
+1 -3
View File
@@ -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."""