Avatar for the pydantic user
pydantic
pydantic
BlogDocsChangelog

Improve warning message when a field name shadows a field in a parent model

#9105Merged
Comparing
chan-vince:improve-user-warning-message
(
75a6f02
) with
main
(
af3d335
)
CodSpeed Performance Gauge
0%
Untouched
10

Benchmarks

10 total
test_north_star_json_dumps
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
22.3 ms22.3 ms
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_simple.py
CodSpeed Performance Gauge
0%
36.3 ms36.3 ms
test_north_star_validate_json
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
52.3 ms52.3 ms
test_north_star_json_loads
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
22 ms22 ms
test_north_star_validate_python
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
43.7 ms43.7 ms
test_north_star_validate_json_strict
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
52 ms52.1 ms
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_generics.py
CodSpeed Performance Gauge
0%
305.5 ms305.9 ms
test_north_star_dump_python
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
16.9 ms16.9 ms
test_north_star_validate_python_strict
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
28.9 ms28.9 ms
test_north_star_dump_json
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
35 ms35 ms

Commits

Click on a commit to change the comparison range
Base
main
af3d335
-0.08%
Update unit test
d4a46cd
2 years ago
by chan-vince
+0.02%
Add missing quotes
75a6f02
2 years ago
by chan-vince
© 2026 CodSpeed Technology
Home Terms Privacy Docs