Basculin-White-Striped Variant is Bugged
还没有人认领这个 Issue。
评估
调研方向
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 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
PokeAPI/pokebase 的其他 Issue
-
Status update 未关闭
难度 5/5 一周以上 新手友好度 20/100
-
难度 5/5 一周以上 新手友好度 30/100
-
难度 3/5 1-2 天 新手友好度 35/100
-
难度 4/5 3-5 天 新手友好度 25/100
-
难度 4/5 3-5 天 新手友好度 35/100
相似的 Issue
-
agent-ready documentation needs-triage
难度 1/5 1-3 小时 新手友好度 88/100
-
documentation
难度 1/5 1 小时以内 新手友好度 91/100
-
workflow-status page template still says reusable workflows are "triggered only by workflow_call:" 未关闭
难度 1/5 1 小时以内 新手友好度 92/100
-
instance instance add
难度 1/5 1 小时以内 新手友好度 72/100
searxng/searx-instances#939 · 1 条评论 ·
-
area-deployment area-integrations triage:bot-seen
难度 2/5 半天 新手友好度 86/100