Eric Jolibois

Results 23 issues of 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...

deferred

## 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...

deferred

⚠️ 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)

see https://github.com/samuelcolvin/pydantic-core/pull/208 pyo3 releases: https://github.com/PyO3/pyo3/releases

good first issue

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 ![Screenshot 2022-06-27 at 14 30 40](https://user-images.githubusercontent.com/18406791/175942553-b0ef6c88-cb36-4fed-92bb-4faa5cdeb18d.png)

DO NOT MERGE

Currently we need to import the whole module to use only an exported function ![Screen Shot 2021-08-22 at 6 45 29 PM](https://user-images.githubusercontent.com/18406791/130363346-4b00ffa3-1e83-44fd-a64a-a8f640eb8a02.png)

enhancement
tech

Expose some useful interfaces/types to the rest of the world :)

build

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...

ready for review