You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to perform dynamic queries as in the documented example here: https://gql.readthedocs.io/en/v3.0.0a5/advanced/dsl_module.html#sync-example. When I try to instantiate the gql.Client() with fetch_schema_from_transport=True, the schema attribute is not populated for v3.0.0a5. Attempting this same action with v2.0.0, the schema is return successfully. Here's the neutered version of the code I'm attempting to run:
from gql import Client, gql
from gql.transport.requests import RequestsHTTPTransport
from gql.dsl import DSLSchema
transport = RequestsHTTPTransport(url=<url>,headers={"Content-Type":"application/json","Authorization":"Bearer <token>"},verify=False)
client = Client(transport=transport,fetch_schema_from_transport=True)
client.schema