ynput / ayon-python-api

Apache License 2.0
8 stars 3 forks source link

Provide some logging option for GraphQlQuery #142

Open kalisp opened 4 months ago

kalisp commented 4 months ago

Currently there is no easy option to print out how the GraphQL query in GraphQlQuery object looks like.

Use case: I am building GraphQlQuery and would like to print the query out and check it visually or use int in GraphQl explorer on the server.

I used query.calculate_query() but it wasn't too obvious.