ynput / ynput/ayon-python-api

Provide some logging option for GraphQlQuery

未关闭
#142 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Python
星标
16
派生
15
平均合并
1 天 9 小时
30 天内合并 PR
10

描述

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.

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 GraphQlQuery 对象及其 calculate_query() 方法开始,issue 将其确定为当前获取 query 的方式。检查计算出的 query 是如何表示的,以及可以在哪里加入 logging 或检查选项。当用户可以轻松打印或复制生成的 GraphQL query,以便进行可视化检查或在 GraphQL Explorer 中使用时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
graphql, python
领域
api
Issue 类型
功能
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。