Skip to content

Basculin-White-Striped Variant is Bugged #40

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?

Activity

  1. jemarq04 commented on Aug 23, 2023

    @jemarq04
    Member

    Check out issue #46, it seems to be related to the cache that was created when you began making requests to the API. Deleting the cache will allow you to access the new information (though I believe that'll mean requests may take a bit longer for some time).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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