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

Pairs with https://github.com/pydantic/jiter/pull/131

We have notes at https://docs.pydantic.dev/latest/integrations/aws_lambda/#troubleshooting for debugging incorrect architecture installs. I wonder if we should automate this step a little, by catching `ImportError`, and if it matches the problem condition...

## Change Summary When using the `build` method on `MultiHostUrl`, despite knowing explicitly what the password was there was no automatic URL encoding. This PR automatically encodes the provided `password`...

feedback wanted

What's the best way to do this? I'd like to avoid passing JSON via Pyo3 to python and THEN creating the model. Use case: I am moving bounding box processing...

enhancement

### Initial Checks - [X] I have searched Google & GitHub for similar requests and couldn't find anything - [X] I have read and followed [the docs](https://docs.pydantic.dev) and still think...

enhancement

Currently if you have a generic model and later substitute it we re-generate the entire schema by walking all of the types. This makes schema generation very expensive. I propose...

refactor

Implements the first part of https://github.com/pydantic/pydantic/pull/11504, which is the ser_json_temporal config option. We now have a `ser_json_temporal` part to the config, which accepts ['iso8601', 'seconds', 'milliseconds']. These have been implemented...

ready for review

Hello Pydantic Team! This is my first time contributing to a Rust and Pyo3 related repo. I am also new in Rust. Do you think this PR will make sense?...

awaiting author revision

As per [the documentation](https://docs.python.org/3/library/datetime.html#tzinfo-objects): > Special requirement for pickling: A [`tzinfo`](https://docs.python.org/3/library/datetime.html#datetime.tzinfo) subclass must have an [`__init__()`](https://docs.python.org/3/reference/datamodel.html#object.__init__) method that can be called with no arguments, otherwise it can be pickled but...

## Change Summary Free-threaded on 3.13 is really slow, and has memory leaks no longer present in 3.14. I think it is not worth testing on 3.13 anymore. Let's wait...