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

Blank past ability entries

オープン 初心者向け
#1,631 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

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

調査の方向性

data/v2/csv/pokemon_abilities_past.csv から始め、影響を受ける行を Pokémon エンドポイントからのレスポンスと比較してください。空の ability エントリが追加された理由を理解するために、コミット b23cd6fb3049eb493f64b4cd9de05cbeea8d93d9 を確認してください。影響を受ける Pokémon が ability が null である過去の ability レコードを公開しなくなり、有効な過去のエントリが維持されていれば完了です。

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

説明

The past_abilites field in pokemon endpoint has some redundant data which points to no actual ability for example for bulbasaur (1)

"past_abilities": [
    {
        "abilities": [
            {
                "ability": null,
                "is_hidden": true,
                "slot": 3
            }
        ],
        "generation": {
            "name": "generation-iv",
            "url": "https://pokeapi.co/api/v2/generation/4/"
        }
    }
]

imo either it should point to an ability resource or the past_abilities array should be empty also idt bulbasaur got any change of abilities and this issue is across a bunch of pokemon where the ability_id is blank in here https://github.com/PokeAPI/pokeapi/blob/master/data/v2/csv/pokemon_abilities_past.csv which is causing this

think historically it got added somewhere around here in this commit https://github.com/PokeAPI/pokeapi/commit/b23cd6fb3049eb493f64b4cd9de05cbeea8d93d9 removing the rows with blank entries should fix it

just wanted to ask tho was there any reason why it was added that I might be missing? thank you :)

cc: @jemarq04

主要言語
Python
スター
5.4k
フォーク
1.2k
平均マージ
2日 12時間
マージ済み PR(30日)
18

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

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

はじめの一歩

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

PokeAPI/pokeapi のほかの issue

PokeAPI/pokeapi の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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