Avatar for the pydantic user
pydantic
pydantic
BlogDocsChangelog

Suppress core schema generation warning when using `SkipValidation`

#12002Merged
Comparing
ygsh0816:fix-warning-11997
(
08ebfeb
) with
main
(
0c4a22b
)
CodSpeed Performance Gauge
0%
Untouched
46
Ignored
2

Benchmarks

48 total
test_simple_model_validation[__init__]
tests/benchmarks/test_model_validation.py
CodSpeed Performance Gauge
+1%
37.5 µs37.1 µs
test_north_star_validate_json_strict
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
+1%
39.5 ms39.2 ms
test_simple_recursive_model_schema_generation
tests/benchmarks/test_model_schema_generation_recursive.py
CodSpeed Performance Gauge
+1%
619.2 µs614.2 µs
test_north_star_validate_json
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
+1%
39.6 ms39.3 ms
test_north_star_validate_python
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
+1%
39.4 ms39.2 ms
test_list_of_models_serialization
tests/benchmarks/test_model_serialization.py
CodSpeed Performance Gauge
+1%
57.4 µs57.1 µs
test_complex_model_serialization
tests/benchmarks/test_model_serialization.py
CodSpeed Performance Gauge
0%
44.7 µs44.5 µs
test_list_of_models_validation[model_validate]
tests/benchmarks/test_model_validation.py
CodSpeed Performance Gauge
0%
79.8 µs79.5 µs
test_north_star_dump_json
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
30.5 ms30.4 ms
test_isinstance_basemodel
tests/benchmarks/test_isinstance.py
CodSpeed Performance Gauge
0%
26.8 ms26.7 ms
test_nested_model_schema_generation
tests/benchmarks/test_model_schema_generation.py
CodSpeed Performance Gauge
0%
822.6 µs820.6 µs
test_nested_model_validation[__init__]
tests/benchmarks/test_model_validation.py
CodSpeed Performance Gauge
0%
52.9 µs52.8 µs
test_complex_model_validation[__init__]
tests/benchmarks/test_model_validation.py
CodSpeed Performance Gauge
0%
50.2 µs50.1 µs
test_deeply_nested_recursive_model_schema_generation
tests/benchmarks/test_model_schema_generation_recursive.py
CodSpeed Performance Gauge
0%
1.3 ms1.3 ms
test_tagged_union_with_callable_discriminator_schema_generation
tests/benchmarks/test_model_schema_generation.py
CodSpeed Performance Gauge
0%
1 ms1 ms
test_simple_model_serialization
tests/benchmarks/test_model_serialization.py
CodSpeed Performance Gauge
0%
33.1 µs33.1 µs
test_construct_dataclass_schema
tests/benchmarks/test_model_schema_generation.py
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
test_schema_build
tests/benchmarks/test_discriminated_unions.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_model_validators_serializers
tests/benchmarks/test_model_schema_generation.py
CodSpeed Performance Gauge
0%
764.4 µs763.9 µs
test_tagged_union_with_str_discriminator_schema_generation
tests/benchmarks/test_model_schema_generation.py
CodSpeed Performance Gauge
0%
1 ms1 ms
test_lots_of_models_with_lots_of_fields
tests/benchmarks/test_model_schema_generation.py
CodSpeed Performance Gauge
0%
2 s2 s
test_recursive_discriminated_union_with_base_model
tests/benchmarks/test_model_schema_generation_recursive.py
CodSpeed Performance Gauge
0%
1.5 ms1.5 ms
test_generic_recursive_model_schema_generation
tests/benchmarks/test_model_schema_generation_recursive.py
CodSpeed Performance Gauge
0%
741.8 µs741.6 µs
test_north_star_json_loads
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
19.6 ms19.6 ms
test_north_star_dump_python
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
17.7 ms17.7 ms

Commits

Click on a commit to change the comparison range
Base
main
0c4a22b
-0.1%
fix(SkipValidation): Properly suppress PydanticSkipValidationWarning
19cb019
8 months ago
by ygsh0816
-0.05%
Apply suggestions from code review
3eae925
8 months ago
by Viicos
-0.08%
Delete tests/test_skipvalidation.py
b88dd30
8 months ago
by Viicos
+0.13%
Add test
cfb9b02
8 months ago
by Viicos
0%
Fix test
98b352c
8 months ago
by Viicos
0%
Fix test_types.py
08ebfeb
8 months ago
by Viicos
© 2026 CodSpeed Technology
Home Terms Privacy Docs