Avatar for the pydantic user
pydantic
pydantic
BlogDocsChangelog

Raise a better user error when failing to evaluate a forward reference

#10030Merged
Comparing
Viicos:eval-type-error
(
2aef05f
) with
main
(
ddc8f58
)
CodSpeed Performance Gauge
0%
Untouched
17

Benchmarks

17 total
test_north_star_json_dumps
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
+3%
23 ms22.2 ms
test_north_star_dump_json
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
34.3 ms34.2 ms
test_import_basemodel
tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
0%
84.7 µs84.5 µs
test_import_field
tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
0%
84.3 µs84.2 µs
test_efficiency_with_highly_nested_examples
tests/benchmarks/test_discriminated_unions.py
CodSpeed Performance Gauge
0%
968.7 µs967.6 µs
test_north_star_validate_python_strict
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
29.4 ms29.4 ms
test_north_star_dump_python
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
16.6 ms16.6 ms
test_north_star_validate_json
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
53 ms53 ms
test_north_star_validate_python
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
44.1 ms44.1 ms
test_north_star_validate_json_strict
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
52.8 ms52.8 ms
test_north_star_json_loads
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
22.1 ms22.1 ms
test_schema_build
tests/benchmarks/test_discriminated_unions.py
CodSpeed Performance Gauge
0%
3.8 ms3.8 ms
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_generics.py
CodSpeed Performance Gauge
0%
278.8 ms279.1 ms
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_simple.py
CodSpeed Performance Gauge
0%
32.5 ms32.5 ms
test_construct_schema
tests/benchmarks/test_schema_build.py
CodSpeed Performance Gauge
0%
4.9 ms4.9 ms
test_lots_of_models_with_lots_of_fields
tests/benchmarks/test_schema_build.py
CodSpeed Performance Gauge
0%
4.5 s4.5 s
test_isinstance_basemodel
tests/benchmarks/test_isinstance.py
CodSpeed Performance Gauge
0%
27.1 ms27.2 ms

Commits

Click on a commit to change the comparison range
Base
main
ddc8f58
+0.17%
Final fixes
0caf22f
2 years ago
by Viicos
+0.03%
Fix lockfile hash
6210b1e
2 years ago
by Viicos
+0.05%
Format
e97c505
2 years ago
by Viicos
-0.04%
Even more fixes
2aef05f
2 years ago
by Viicos
© 2026 CodSpeed Technology
Home Terms Privacy Docs