pydantic
pydantic
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
added @classmethod to @model_validator(mode='before') in docs and acr…
#9410
Merged
Comparing
paulmartin91:model-validator-classmethods
(
a9697ab
) with
main
(
07b6473
)
CodSpeed Performance Gauge
0%
Untouched
13
Benchmarks
Passed
test_schema_build
tests/benchmarks/test_discriminated_unions.py
CodSpeed Performance Gauge
0%
4.3 ms
4.2 ms
test_north_star_validate_python_strict
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
28.8 ms
28.8 ms
test_north_star_validate_python
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
43.7 ms
43.7 ms
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_generics.py
CodSpeed Performance Gauge
0%
312.4 ms
312.3 ms
test_north_star_validate_json
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
52.9 ms
52.9 ms
test_north_star_validate_json_strict
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
52.7 ms
52.7 ms
test_north_star_json_loads
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
22.2 ms
22.2 ms
test_north_star_dump_python
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
17.1 ms
17.1 ms
test_north_star_dump_json
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
35 ms
35.1 ms
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_simple.py
CodSpeed Performance Gauge
0%
37.4 ms
37.4 ms
test_efficiency_with_highly_nested_examples
tests/benchmarks/test_discriminated_unions.py
CodSpeed Performance Gauge
0%
953.4 µs
954.7 µs
test_construct_schema
tests/benchmarks/test_schema_build.py
CodSpeed Performance Gauge
0%
5 ms
5 ms
test_north_star_json_dumps
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
-3%
21.9 ms
22.6 ms
Commits
Click on a commit to change the comparison range
Base
main
07b6473
-0.27%
added @classmethod to @model_validator(mode='before') in docs and across app
a9697ab
1 year ago
by paulmartin91
© 2025 CodSpeed Technology
Home
Terms
Privacy
Docs