Blank past ability entries
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 76/100
Direzione di ricerca
Inizia da data/v2/csv/pokemon_abilities_past.csv e confronta le righe interessate con la risposta dell’endpoint Pokémon. Esamina il commit b23cd6fb3049eb493f64b4cd9de05cbeea8d93d9 per capire perché siano state aggiunte voci di abilità vuote. Il lavoro è completato quando i Pokémon interessati non espongono più record di abilità passate la cui abilità è null, preservando al contempo le voci storiche valide.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The past_abilites field in pokemon endpoint has some redundant data which points to no actual ability for example for bulbasaur (1)
"past_abilities": [
{
"abilities": [
{
"ability": null,
"is_hidden": true,
"slot": 3
}
],
"generation": {
"name": "generation-iv",
"url": "https://pokeapi.co/api/v2/generation/4/"
}
}
]
imo either it should point to an ability resource or the past_abilities array should be empty also idt bulbasaur got any change of abilities and this issue is across a bunch of pokemon where the ability_id is blank in here https://github.com/PokeAPI/pokeapi/blob/master/data/v2/csv/pokemon_abilities_past.csv which is causing this
think historically it got added somewhere around here in this commit https://github.com/PokeAPI/pokeapi/commit/b23cd6fb3049eb493f64b4cd9de05cbeea8d93d9 removing the rows with blank entries should fix it
just wanted to ask tho was there any reason why it was added that I might be missing? thank you :)
cc: @jemarq04
- 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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di PokeAPI/pokeapi
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
-
openapi integers range. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
-
UV hardlink files Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
-
Ball legality Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
Tutte le issue di PokeAPI/pokeapi
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
stephrobert/dsoxlab#238 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
sublimehq/package_control#1780 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
nwg-piotr/nwg-displays#145 ·