Provide some logging option for GraphQlQuery

Open
#142 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
graphql, python
Domain
api

Research direction

Start with the GraphQlQuery object and its calculate_query() method, which the issue identifies as the current way to obtain the query. Check how the calculated query is represented and where a logging or inspection option can fit. Done means a user can easily print or copy the generated GraphQL query for visual checking or use in GraphQL Explorer.

Written by the indexing model from the issue text.

Description

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.

Dominant language
Python
Stars
16
Forks
15
Avg merge
1d 9h
Merged PRs (30d)
10

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ynput/ayon-python-api

All issues in ynput/ayon-python-api

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.