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

## Change Summary Use 3.9 style type hints. This should avoid problems in #1264 I'm not 100% sure this won't cause problems on 3.8 so would like to test. ##...

## Change Summary Uses the output of the inner validator as the input in the error message for a function-after validator. This might actually not be a desirable thing to...

Fix https://github.com/pydantic/pydantic/issues/9265

## Add full type to validation error Full type name added to the validation error. ## Related issue number fix [#7911](https://github.com/pydantic/pydantic/issues/7911) ## Checklist * [x] Unit tests for the changes...

ready for review

See https://github.com/pydantic/pydantic/pull/9240#issuecomment-2059218842 for more details

bug

Looks like something is wrong and I'm not sure what I can do more to diagnose this issue 🤔 ```console + cd pydantic-core-2.18.0 + export RUST_BACKTRACE=full + RUST_BACKTRACE=full + ASMFLAGS='-m64...

unconfirmed

Right now if you're trying to parse a partial object, pydantic won't return the key until the string value is complete: ``` In [4]: pydantic_core.from_json('{"test": "this', allow_partial=True) Out[4]: {} ```...

unconfirmed

- pydantic-2.6.4 - pydantic-core-2.16.3 Defining ```python @pydantic.validate_call() def foo(*, x: int = 1, y: str): print(x, y) ``` raises: ``` SchemaError: Error building "call" validator: SchemaError: Error building "arguments" validator:...

bug

```py @pytest.mark.xfail( reason='strict=True in model_validate_json does not overwrite strict=False given in ConfigDict' 'See issue: https://github.com/pydantic/pydantic/issues/8930' ) def test_model_validate_list_strict() -> None: # FIXME: This change must be implemented in pydantic-core. The...

bug

See https://github.com/pydantic/pydantic/pull/9064#discussion_r1534639107 for more details :)

unconfirmed