Avatar for the pydantic user
pydantic
pydantic-core
BlogDocsChangelog

Add `allow_partial`

#1512Merged
Comparing
allow_partial
(
b1226d5
) with
main
(
5e95c05
)
CodSpeed Performance Gauge
-17%
Regression
2
Untouched
153

Benchmarks

155 total
test_frozenset_of_ints_duplicates_core
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-17%
144.2 µs173 µs
test_set_of_ints_core_duplicates
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-12%
307 µs347.9 µs
test_dict_of_any_core
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+6%
756.5 µs712.6 µs
test_dict_of_ints_core
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+4%
1.1 ms1 ms
test_to_string_format
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+4%
23.4 µs22.5 µs
test_core_model_json_extra
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+4%
30 µs29 µs
test_dataclass_to_json
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+2%
38.4 µs37.6 µs
test_core_dict_filter
tests/benchmarks/test_serialization_micro.py::TestBenchmarkSimpleModel
CodSpeed Performance Gauge
+2%
79.3 µs78.1 µs
test_int_error
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
39.9 µs39.3 µs
test_complete_core_json
tests/benchmarks/test_complete_benchmark.py
CodSpeed Performance Gauge
+1%
491.7 µs485 µs
test_isinstance_string_strict_true
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
13.4 µs13.2 µs
test_to_json_list_of_lists
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
1.7 ms1.7 ms
test_model_core_json
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime
CodSpeed Performance Gauge
+1%
35.5 µs35.2 µs
test_definition_model_core
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
1.2 ms1.2 ms
test_model_exclude_unset_false
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
29.2 µs29 µs
test_core_python
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID
CodSpeed Performance Gauge
+1%
30.2 µs30 µs
test_isinstance_string_lax_true
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
13.4 µs13.3 µs
test_model_exclude_unset_true
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
35.3 µs35.1 µs
test_uuid
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
23 µs22.8 µs
test_chain_nested_functions
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
0%
28.2 µs28 µs
test_core_json
tests/benchmarks/test_serialization_micro.py::TestBenchmarkSimpleModel
CodSpeed Performance Gauge
0%
80.4 µs80 µs
test_json_any_list_str
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
0%
229.3 µs228.4 µs
test_core_str
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime
CodSpeed Performance Gauge
0%
19.2 µs19.2 µs
test_chain_two_functions
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
0%
29 µs28.9 µs
test_small_class_core_model
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
0%
28.9 µs28.8 µs

Commits

Click on a commit to change the comparison range
Base
main
5e95c05
+0.2%
tests for set,frozenset,list,dict,typed_dict
554ec40
2 years ago
by samuelcolvin
-0.22%
fix linting
6cd985d
2 years ago
by samuelcolvin
+0.41%
revert formatting changes
b5b2332
2 years ago
by samuelcolvin
-0.48%
fix js tests and benchmarks
45ef7d5
2 years ago
by samuelcolvin
+0.08%
support partial JSON parsing
92e694f
2 years ago
by samuelcolvin
-15.7%
move allow_partial to state, and set it correctly
470754d
2 years ago
by samuelcolvin
+0.09%
require validators to support partial
bd127eb
2 years ago
by samuelcolvin
-0.2%
try to fix js tests
417ad13
2 years ago
by samuelcolvin
+0.03%
fix tests
0d453a0
2 years ago
by samuelcolvin
+0.11%
support typeddicts where not all fields are not required
ee72ba9
2 years ago
by samuelcolvin
-0.09%
uprev jiter
f28aaba
2 years ago
by samuelcolvin
-1.06%
removee Box dyn by always using EnumerateLastPartial
47f1c15
1 year ago
by samuelcolvin
-0.08%
tweak comments
e220710
1 year ago
by samuelcolvin
-0.08%
switch defautl for supports_partial
a0936cd
1 year ago
by samuelcolvin
+0.08%
support nested JSON validators
6478dba
1 year ago
by samuelcolvin
+0.06%
switch last_key method for mapping
5a521a8
1 year ago
by samuelcolvin
+0.06%
remove support_partial
327083c
1 year ago
by samuelcolvin
+0.19%
Merge branch 'main' into allow_partial
b1226d5
1 year ago
by samuelcolvin
© 2026 CodSpeed Technology
Home Terms Privacy Docs