pydantic-core
pydantic-core copied to clipboard
Core validation logic for pydantic written in rust
See #247. Current error: ``` Found maturin version requirement maturin>=0.13,
We should allow an extra no-op `description` key on all schemas which can be anything and should be stored along-side the validator somehow, useful for reviewing schemas and understanding bugs....
This PR introduces a `mode` parameter in `validate_python` so that developers can get similar affordances to `validate_json` when `strict=True`. Currently, validating `dict` objects against other kinds of models fails when...
Contributing to https://github.com/pydantic/pydantic/issues/6423 TODO: - [x] Add support for dataclasses - [x] Add support for TypedDict - [x] Add much more comprehensive testing - [ ] Investigate recursion guard that...
## Change Summary Just to see what the estimated performance speedup of `panic=abort` is. It would have significantly worse UX on any panics though. ## Related issue number N/A ##...
Copying from slack: > On a related note: I think we should have a way to perform JSON-mode validation even when validating from python. Is that currently possible? Otherwise I...
Bumps [strum](https://github.com/Peternator7/strum) from 0.25.0 to 0.26.2. Release notes Sourced from strum's releases. v0.26.1 0.26.1 #325: use core instead of std in VariantArray. 0.26.0 Breaking Changes The EnumVariantNames macro has been...
## Change Summary Based on comment https://github.com/pydantic/pydantic/issues/7186#issuecomment-1912192517 implemented `omit_trailing_slash` feature for PyUrl crate. ## Related issue number https://github.com/pydantic/pydantic/issues/7186 ## Checklist * [x] Unit tests for the changes exist * [x]...
iOS support?
pydantic and pydantic-core do not appear to build on iOS. Do you plan to add support for it? Or if it is supported, where can I find documentation for it?...
I am getting File "/usr/lib/python3.10/site-packages/pydantic_core/__init__.py", line 6, in from ._pydantic_core import ( ModuleNotFoundError: no Module named 'pydantic_core._pydantic.core' when trying to import pydantic_core. (python3 -c "import pydantic_core"). The site-packages folder is...