Avatar for the pydantic user
pydantic
pydantic-core
BlogDocsChangelog

fix: use validator name instead of tag value in tagged union error loc

#1897Closed
Comparing
JaeHyuckSa:fix-issue-10433
(
b8d44b0
) with
main
(
383eb95
)
CodSpeed Performance Gauge
0%
Untouched
163

Benchmarks

163 total
test_set_of_ints_core_json_duplicates
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+8%
434.3 µs400.3 µs
test_list_of_strs_json_cached
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+7%
311.6 µs292.5 µs
test_dict_of_ints_core_json
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+5%
1.4 ms1.3 ms
test_complete_core_error
tests/benchmarks/test_complete_benchmark.py
CodSpeed Performance Gauge
-4%
1.7 ms1.8 ms
test_set_of_ints_core_json
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+4%
870 µs837.8 µs
test_list_of_strs_json_uncached
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+4%
397.5 µs383.4 µs
test_field_function_validator
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-3%
331.2 µs342 µs
test_complete_core_isinstance
tests/benchmarks/test_complete_benchmark.py
CodSpeed Performance Gauge
+3%
1.8 ms1.7 ms
test_complete_core_root_json
tests/benchmarks/test_complete_benchmark.py
CodSpeed Performance Gauge
-3%
424 µs434.9 µs
test_isinstance_json
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-2%
18 µs18.5 µs
test_validate_literal[json-few_ints]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-2%
15.4 µs15.7 µs
test_core_python
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime
CodSpeed Performance Gauge
-2%
26.3 µs26.8 µs
test_chain_nested_functions
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-2%
27.6 µs28.1 µs
test_smart_union_core
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUnion
CodSpeed Performance Gauge
+2%
15.7 µs15.5 µs
test_complete_core_json
tests/benchmarks/test_complete_benchmark.py
CodSpeed Performance Gauge
-2%
418.5 µs425.1 µs
test_int_range_json
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-1%
15.5 µs15.7 µs
test_chain_function
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-1%
23.8 µs24.1 µs
test_tuple_many_positional
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
17.7 µs17.5 µs
test_dataclass_to_json
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
-1%
38 µs38.4 µs
test_enum_str_python
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-1%
23.4 µs23.7 µs
test_dataclass_serialization_python
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
-1%
20.9 µs21.2 µs
test_date_from_str
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateX
CodSpeed Performance Gauge
-1%
15.7 µs15.9 µs
test_datetime_seconds
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
-1%
24.1 µs24.4 µs
test_validate_literal[json-few_large_strings]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-1%
16 µs16.2 µs
test_core_python
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID
CodSpeed Performance Gauge
+1%
25.7 µs25.4 µs

Commits

Click on a commit to change the comparison range
Base
main
383eb95
-0.07%
fix: use validator name instead of tag value in tagged union error loc
b8d44b0
6 months ago
by JaeHyuckSa
© 2026 CodSpeed Technology
Home Terms Privacy Docs