AnswerDotAI / AnswerDotAI/ghapi

Events api doesn't use constructor values

オープン
#39 コメント 0 件 リアクション 2 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
685
フォーク
70
平均マージ
1分
マージ済み PR(30日)
2

説明

When calling the events api, none of the values passed into the constructor are included

EG given two api objects:

```
owned_api = GhApi(username='gone', token=github_token)
global_api = GHApi(token=github_token)
```

I would expect these two calls to be equivalent:

```
owned_api.list_events()
global_api.list_events(username='gone')
```

But get them to be the same, I need to pass the username into both list_events calls.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

issue に示されている GhApi/GHApi コンストラクターと list_events の 2 つの呼び出しを再現し、次にコンストラクターの値が events API でどのように処理されるかを追跡します。username='gone' で作成したインスタンスが、list_events(username='gone') と同じ結果を list_events() から返せば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
github, python
領域
api, backend-api-design
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。