Closed JJonnick closed 1 year ago
Oh did pydantic officially switch to v2?
I'm also having the same error
Unfortunately, the migration to pydantic v2 will need a lot of work considering genshin.py extensively modifies pydantic behavior.
Please pin your pydantic version to pydantic==1.*
for now.
I get the following error when executing a Github Action:
As I have seen the error comes from this line: https://github.com/thesadru/genshin.py/blob/master/genshin/models/model.py#L126
In their documentation, by adding
skip_on_failure=True
, seems to avoid the error or substituting with the@model_validator