Skip to content

Basculin-White-Striped Variant is Bugged #40

Open
@ImperialSquid

Description

@ImperialSquid

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions