Python SDK should provide a method for users to get the response headers and the raw response
まだ誰も着手していません。
評価
調査の方向性
OpenFgaClient から始めて、その request と response がどのように表現されているかを追ってください。batch メソッド、特に非トランザクション書き込みと batch check を確認し、個々の response で headers と生の response を公開できる方法を判断してください。通常のクライアント呼び出しと指定された batch response の両方で、2 つの accessor が機能すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- Python
- スター
- 85
- フォーク
- 36
- 平均マージ
- 3時間 8分
- マージ済み PR(30日)
- 3
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
openfga/python-sdk のほかの issue
-
openfga/python-sdk#308 · 担当者 1 名 ·
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
openfga/python-sdk#214 · コメント 1 件 · リアクション 1 件 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
openfga/python-sdk#194 · コメント 2 件 ·
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 32/100
openfga/python-sdk#139 · コメント 1 件 ·
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
openfga/python-sdk#106 · コメント 2 件 ·
openfga/python-sdk の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
anthropics/skills#1811 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
speaches-ai/speaches#678 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
datalayer/mcp-compose#42 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
conda-forge/spacy-feedstock#177 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
UKGovernmentBEIS/inspect_evals#2523 ·