pydantic-core icon indicating copy to clipboard operation
pydantic-core copied to clipboard

Core validation logic for pydantic written in rust

Results 181 pydantic-core issues
Sort by recently updated
recently updated
newest added

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

good first issue

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.

good first issue

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

good first issue

To match https://github.com/pydantic/pydantic/pull/3994 behaviour

enhancement

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

good first issue

stop using `maybe_as_string`.

feedback wanted

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

good first issue

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

feedback wanted