thesadru / genshin.py

API wrapper for HoYoLAB/Miyoushe API built on asyncio and pydantic.
https://thesadru.github.io/genshin.py
MIT License
395 stars 72 forks source link

"'MultiCookieClient' object has no attribute 'calculate'" #19

Closed ahmadkeren closed 2 years ago

ahmadkeren commented 2 years ago

Excuse me, that work perfectly before.. but recently that error shown.. Screen Shot 2022-02-21 at 09 13 03 Screen Shot 2022-02-21 at 09 13 13

Thanks

thesadru commented 2 years ago

calculate has been removed in favor of a more clean calculator which now uses builders.

https://thesadru.github.io/genshin.py/calculator/

Considering calculate was experimental I thought it would be better to just remove it completely. You can pin genshin.py to the previous version if you don't feel like rewriting anything yet.