Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Castform form/variety mixup

Đang mở
#1,209 7 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Lĩnh vực
api, backend

Hướng nghiên cứu

Bắt đầu với Pokémon endpoint cho ID 351 và species endpoint cho ID 351, sau đó xem lại phần giải thích về form và variety trong issue #401. So sánh các form và variety được liệt kê của Castform, cùng với form_description, với mô hình mà dự án dự định sử dụng; công việc được xem là hoàn tất khi đạt được một cách giải quyết được maintainer xác nhận về cách biểu diễn dữ liệu này.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Hello PokéAPI team :)

I'm currently playing around with the API and looking at the underlying data with interest. I note already that there is a lot of discussion around forms and varieties (am working based on the explanation: https://github.com/PokeAPI/pokeapi/issues/401.

Castform (id 351) has 1 form on its Pokémon object, and on the species object (id 351) , there are four variations listed with Pokémon IDs: 351, 10013 (Sunny), 10014 (Rainy), 10015 (Snowy).

Then these Pokémon IDs have their own equivalent form (form IDs 10028 (Sunny), 10029 (Rainy), 10030 (Snowy).

However, on the species object, there is a form description:

'Form changes along with type to match the weather in battle, due to forecast. Castform is always in its normal form outside of battle, regardless of weather'

But considering that the field is called form_description, this would not be correct, since its changing to a different variation. (The actual language itself within the field form_description is using form colloquially, I guess?)

So is Castform meant to have forms (similar to Arceus), which seems to contradict the description given of what Pokémon forms are, is the field form_description incorrectly populated for this instance, or should there be a variety_description field instead/as well, or have I completely misunderstood.

Steps to Reproduce:

  1. Navigate to Pokémon endpoint with id 351 - only 1 form for Pokémon
  2. Navigate to species endpoint with id 351 - Form description field is actually describing the variety differences.
Ngôn ngữ chính
Python
Star
5.4k
Fork
1.2k
Merge trung bình
2 ngày 12 giờ
Pull request đã merge (30 ngày)
18

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của PokeAPI/pokeapi

Tất cả issue của PokeAPI/pokeapi

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.