Avatar for the pydantic user
pydantic
pydantic
BlogDocsChangelog

docs: clarify model_validator(mode='before') may receive non-dict input

#13086Closed
Comparing
LEDazzio01:docs/clarify-model-validator-before-input
(
b4b536e
) with
main
(
a6bf50b
)
CodSpeed Performance Gauge
0%
Untouched
215
Ignored
2

Benchmarks

217 total
test_field_function_validator
pydantic-core/tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+4%
343.3 µs331.2 µs
test_simple_recursive_model_schema_generation
tests/benchmarks/test_model_schema_generation_recursive.py
CodSpeed Performance Gauge
+4%
644.5 µs622.1 µs
test_arguments
pydantic-core/tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+3%
24.4 µs23.7 µs
test_dataclass_to_json
pydantic-core/tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+3%
40.8 µs39.8 µs
test_core_json_fs
pydantic-core/tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkSimpleModel
CodSpeed Performance Gauge
+2%
111.2 µs108.7 µs
test_json_any_list_int
pydantic-core/tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+2%
201.6 µs198.3 µs
test_set_of_ints_core_json_duplicates
pydantic-core/tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
438.5 µs433.2 µs
test_json_direct_list_str
pydantic-core/tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
184.9 µs182.7 µs
test_isinstance_string_lax_true
pydantic-core/tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
15.5 µs15.3 µs
test_isinstance_string_strict_true
pydantic-core/tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
15.5 µs15.4 µs
test_json_any_list_str
pydantic-core/tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
239.8 µs237.4 µs
test_complete_core_json
pydantic-core/tests/benchmarks/test_complete_benchmark.py
CodSpeed Performance Gauge
+1%
413.5 µs409.3 µs
test_json_direct_list_int
pydantic-core/tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
149.7 µs148.4 µs
test_core_json_fs
pydantic-core/tests/benchmarks/test_micro_benchmarks.py::TestModelLarge
CodSpeed Performance Gauge
+1%
121.5 µs120.5 µs
test_complete_core_root_json
pydantic-core/tests/benchmarks/test_complete_benchmark.py
CodSpeed Performance Gauge
+1%
416.9 µs414 µs
test_to_json_list_of_lists
pydantic-core/tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
1.9 ms1.9 ms
test_model_eq_extra_forbid
tests/benchmarks/test_model_eq.py
CodSpeed Performance Gauge
+1%
38.2 µs37.9 µs
test_datetime
pydantic-core/tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
24.2 µs24.1 µs
test_list_of_ints_core_json
pydantic-core/tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
782.3 µs777.4 µs
test_north_star_validate_json_strict
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
+1%
36.1 ms35.9 ms
test_validate_literal[json-many_large_strings]
pydantic-core/tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
18.2 µs18.1 µs
test_isinstance_string_strict_false
pydantic-core/tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
16.9 µs16.8 µs
test_core_string_strict_wrong_str_e
pydantic-core/tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
0%
39.9 µs39.7 µs
test_north_star_validate_python_strict
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
21.2 ms21.1 ms
test_uuid_from_string_core
pydantic-core/tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID
CodSpeed Performance Gauge
0%
21.8 µs21.7 µs

Commits

Click on a commit to change the comparison range
Base
main
a6bf50b
-0.29%
docs: clarify model_validator(mode='before') may receive non-dict input
b4b536e
1 month ago
by LEDazzio01
© 2026 CodSpeed Technology
Home Terms Privacy Docs