Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Castform form/variety mixup

Aperta
#1,209 7 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Ambito
api, backend

Direzione di ricerca

Inizia dall’endpoint Pokémon per l’ID 351 e dall’endpoint della specie per l’ID 351, quindi esamina la spiegazione di forme e varietà in issue #401. Confronta le forme e le varietà elencate di Castform, insieme a form_description, con il modello previsto dal progetto; il lavoro è completato quando si raggiunge una risoluzione confermata da un maintainer su come questi dati debbano essere rappresentati.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Lingua principale
Python
Stelle
5.4k
Fork
1.2k
Merge medio
2g 12h
PR unite (30g)
18

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di PokeAPI/pokeapi

Tutte le issue di PokeAPI/pokeapi

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.