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

More changes after #185. Also, https://github.com/samuelcolvin/pydantic/discussions/4254. We should add `loc` to `PydanticValueError` which gets appended to the error `loc` Also add `file_position` (`tuple[int, int]` of `(line, col)`), one day when...

enhancement

Like the other sequence like validators, but keep the type. What do we do about `str`? I guess we have to allow it, but there are regularly scenarios where you...

enhancement

We could add another property to line errors with internal details on what went wrong. E.g. info that we wouldn't want to show to end users but which might help...

Hi! I have been a long time user of pydantic (great library btw) and have been following the development of the rust library. I was wondering if it would make...

feedback wanted

Dict including: * Name * Type * Position - index for tuple, key, value Maybe more details in future Passed as kwarg to function

Needs: * [x] `core_schema.py` * [x] tests

Might be useful in a number of scenarios. E.g. parsing custom data types.

good first issue

Like we have in pydantic V1 but with JSON parsing implemented in rust using existing functionality. `Json[Foobar]` should also work, e.g. `JsonSchema` should have a `schema` property.

Should be fairly easy since speedate [gives `offset` as optional](https://docs.rs/speedate/latest/speedate/struct.DateTime.html#structfield.offset). @antonagestam said he might be able to work on this, see https://github.com/pydantic/pydantic/discussions/3477#discussioncomment-3771452