Hello,
As per the docuementaiton Pygen exposes a `graphql_query` method. However, I’m not able to find it. Could you please help?
version used: cognite-pygen==1.2.1

Thanks
Hello,
As per the docuementaiton Pygen exposes a `graphql_query` method. However, I’m not able to find it. Could you please help?
version used: cognite-pygen==1.2.1

Thanks
Best answer by Anders Albert
That method is on a generated SDK.
For example:
from cognite.pygen import generate_sdk_notebook
pygen = generate_sdk_notebook(
("sp_pygen_power", "WindTurbine", "1"),
client,
)
my_query = """...""""
result = pygen.graphql_query(my_query)
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.