pydantic-core
pydantic-core copied to clipboard
Core validation logic for pydantic written in rust
⚠️ 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)
As per https://github.com/pydantic/pydantic-core/pull/230#discussion_r945315249 we should allow `frozen` to be set in config.
fix #224
This will require us to add support for `now()` and `today()` to speedate, see https://github.com/pydantic/speedate/issues/19. Required to for https://github.com/pydantic/pydantic/issues/4330.
As per https://github.com/samuelcolvin/pydantic/pull/3375 we should support kwargs with `from_attributes`. To do this, effectively https://github.com/samuelcolvin/pydantic-core/blob/fdf42b8b0d0684bc2cac04d34c40fe4b0d33498d/src/input/return_enums.rs#L158 Becomes ```rs PyGetAttr(&'a PyAny, Option
To match https://github.com/pydantic/pydantic/pull/3994 behaviour
see https://github.com/samuelcolvin/pydantic-core/pull/208 pyo3 releases: https://github.com/PyO3/pyo3/releases
See https://github.com/samuelcolvin/pydantic-core/pull/172#issuecomment-1200416720. Use [pytest-pyodide](https://github.com/pyodide/pytest-pyodide) instead of our current set of hacky scripts. To do this, we would probably need to auto-use the fixture provided by pytest-pyodide to install it into...
Hi, author of pydantic-yaml here. I have no idea about anything Rust-related, unfortunately, but hopefully this feature request will make sense in Python land. I'm going off [this slide in...