thesadru / genshin.py

Modern API wrapper for Genshin Impact & Honkai Impact 3rd built on asyncio and pydantic. 原神 崩坏3
https://thesadru.github.io/genshin.py
MIT License
390 stars 71 forks source link

pydantic.error_wrappers.ValidationError: 21 validation errors for Activities #45

Closed TIMMLOPK closed 1 year ago

TIMMLOPK commented 2 years ago

I got this error when using get_full_genshin_user.However get_genshin_characters works without error.I try to fetch hoyolab api, it response as normal.This error seem appear at a part of user.Anyone know why ?

pydantic.error_wrappers.ValidationError: 21 validation errors for Activities
hyakunin_ikki_v25 -> records -> 0 -> battles -> 0 -> characters -> 1 -> __root__
  Character data incomplete (type=value_error)
thesadru commented 2 years ago

I had no luck reproducing this error. Hopefully, this will be consistently fixed with the new upcoming model library.