Skip to content

v4.1.1

Choose a tag to compare

@monosans monosans released this 07 Nov 16:47
· 77 commits to main since this release
  • Load only the models of the language a request asks for, not those of all 76, which takes roughly 400 ms off import pywttr. pywttr-models 2.1.1, now required, imports each language's models the first time they are used, and Wttr.weather no longer has pydantic evaluate its return type, pywttr_models.AnyModel, on import.