Basculin-White-Striped Variant is Bugged
まだ誰も着手していません。
評価
調査の方向性
Start by running the issue's pokemon_species("basculin").varieties reproduction and inspect how the PokéAPI species varieties are converted into Pokémon objects. Compare the third Basculin variant with the resource returned by the API; done means all three names and associated fields match the expected API values.
索引モデルが issue の本文から書いたものです。
説明
Description
While writing some code to get the variants of each species I noticed the third variant of basculin was returning None as the name not the expected "basculin-white-striped"
Code to Reproduce
import pokebase as pb
for var in pb.pokemon_species("basculin").varieties:
print(var.pokemon.name)
Expected Results
basculin-red-striped
basculin-blue-striped
basculin-white-striped
Actual Results
basculin-red-striped
basculin-blue-striped
None
Notes
It's not just the name that is wrong, the entire results for the third variant are wrong, containing many fields that shouldn't be there
Also, looking at the resource directly in the browser shows the expected values so this seems to be an issue with pokebase not the api?
- 主要言語
- Python
- スター
- 361
- フォーク
- 58
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
PokeAPI/pokebase のほかの issue
-
Status update オープン
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
PokeAPI/pokebase の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
-
hcocena オープンpolicies-accepted pre-review precheck-passed
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
Bioconductor/BiocContributions#214 · コメント 5 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
TencentCloud/Octop#1169 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
521xueweihan/HelloGitHub#3778 ·
-
The version checker's trailing attribute region has no control for a less-than inside a quoted value オープンarea: dashboard area: tests bug perceived difficulty: 2 python
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
Nitjsefnie-Harness-Commons/daedalus#1105 · コメント 1 件 ·