Python SDK should provide a method for users to get the response headers and the raw response
オープン
まだ誰も着手していません。
enhancement
- 主要言語
- Python
- スター
- 85
- フォーク
- 36
- 平均マージ
- 3時間 8分
- マージ済み PR(30日)
- 3
説明
Checklist
- I agree to the terms within the OpenFGA Code of Conduct.
Describe the problem you'd like to have solved
As a user, I'd like to be able to get the response headers when using OpenFgaClient
Describe the ideal solution
OpenFgaClient will have get_headers() and get_raw_response() methods that allow users to retrieve the headers and raw response respectively.
Batch Methods such as non transactional write and batch check would have these methods on individual responses.
Alternatives and current workarounds
No response
References
No response
Additional context
No response
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
OpenFgaClient から始めて、その request と response がどのように表現されているかを追ってください。batch メソッド、特に非トランザクション書き込みと batch check を確認し、個々の response で headers と生の response を公開できる方法を判断してください。通常のクライアント呼び出しと指定された batch response の両方で、2 つの accessor が機能すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- api
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100