Basculin-White-Striped Variant is Bugged
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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?
- Ngôn ngữ chính
- Python
- Star
- 361
- Fork
- 58
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của PokeAPI/pokebase
-
Status update Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Tất cả issue của PokeAPI/pokebase
Issue tương tự
-
agent-ready documentation needs-triage
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
-
documentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 91/100
-
workflow-status page template still says reusable workflows are "triggered only by workflow_call:" Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
-
Add https://search.jeremyh.xyz/ Đang mởinstance instance add
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
searxng/searx-instances#939 · 1 bình luận ·
-
area-deployment area-integrations triage:bot-seen
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 86/100