Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basculin-White-Striped Variant is Bugged #40

Open
ImperialSquid opened this issue Jul 5, 2022 · 1 comment
Open

Basculin-White-Striped Variant is Bugged #40

ImperialSquid opened this issue Jul 5, 2022 · 1 comment

Comments

@ImperialSquid
Copy link

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?

@jemarq04
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants