0xPlaygrounds / 0xPlaygrounds/subgrounds
Generating typing for subgraphs
- 主要言語
- Python
- スター
- 73
- フォーク
- 12
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
**Is your feature request related to a problem? Please describe.**
I want type information when using subgraph and fieldpath objects.
**Describe the solution you'd like**
Generating `.pyi` files for full type information, likely thru a CLI command in `contrib`.
**Describe alternatives you've considered**
- Using notebooks
- Large projects are easier with packages
**Additional context**
Likely would be a tall ordering and would only work on CLI or first time `.load_subgraph` is invoked.
**Implementation checklist**
- [ ] Task 1
コントリビューションガイド
調査の方向性
Look at the existing CLI commands in the `contrib` module and the `load_subgraph` method to understand how subgraphs and fieldpath objects are currently handled. The goal is to generate `.pyi` type stub files, which requires understanding the GraphQL schema introspection and Python's typing system. Check if there are existing tests for type generation or subgraph loading to see the expected output format.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- graphql, python
- 領域
- backend-api-design, cli, tooling
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100