Eric Jolibois
Eric Jolibois
## Change Summary I'm waiting for feedback on the API and [doc](https://smokeshow.helpmanual.io/3h0m1f4t2i5e2b26723a/usage/models/#field-with-computed-value-based-on-other-fields) 🙏 ### `property`-like syntax ```py from functools import cached_property from random import randint from pydantic import BaseModel, computed_field...
## Change Summary We were using the `env_prefix` for secrets, which doesn't make sense and is very confusing. Now we just don't ⚠️ :warning: **Probably good to first be sure...
⚠️ WIP ⚠️ @samuelcolvin feedback welcome on this. IMO it will be useful in some usecases, in particular computed fields (I added a test to showcase this)
fix #224
see https://github.com/samuelcolvin/pydantic-core/pull/208 pyo3 releases: https://github.com/PyO3/pyo3/releases
Hi everyone ! This is my first contribution so the whole code is still pretty new to me. While working on _pydantic_, I encountered a [false positive](https://github.com/samuelcolvin/pydantic/pull/2221/commits/ab57d19cd77230cba041ee855b2a93d03ad40614) and saw there...
- fix Makefile goals - make `pytest` command work directly - make `make test` work even without env variables 
Currently we need to import the whole module to use only an exported function 
Expose some useful interfaces/types to the rest of the world :)
When `__post_init__` was defined on a parent class, `new_post_init` would be called many times because it "auto-refers" itself (it refers the parent one). Now we call the right `__post_init__` fix...