Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Create Source returns status code 201 instead of 200

オープン
#2 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

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

調査の方向性

Start with api_client.py line 229 to trace how the response status is mapped, then inspect sources_api.py around line 348 and reproduce Create Source returning 201. Update the underlying API documentation or generated source so status 201 resolves to the CreateSource response instead of None, and verify the SDK preserves the response.

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

説明

I am running on the latest package version, in the api_client.py, line 229, the code is looking up a type mapping based on a status code. As it can not resolve it, it falls back to None, overwriting the actual response. A hotfix is to change line 348 in sources_api.py to: '201': "CreateSource..."

As the code is auto-generated, I assume that the underlying API documentation needs to be updated. I have attached screenshots for reference.

Bildschirmfoto 2024-02-01 um 08 54 29 Bildschirmfoto 2024-02-01 um 08 56 26 Bildschirmfoto 2024-02-01 um 08 56 17 Bildschirmfoto 2024-02-01 um 09 11 55
主要言語
Python
スター
2
フォーク
2
PR マージ指標
30日以内にマージされた PR はありません

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

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

segmentio/public-api-sdk-python のほかの issue

segmentio/public-api-sdk-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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