Avatar for the pydantic user
pydantic
pydantic
BlogDocsChangelog

Fix a bug when setting StringConstraint(strict=False)

#9476Merged
Comparing
vbmendes:increase_types_test_coverage
(
5f941ab
) with
main
(
6820879
)
CodSpeed Performance Gauge
0%
Untouched
13

Benchmarks

13 total
test_north_star_json_dumps
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
+2%
23.8 ms23.4 ms
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_simple.py
CodSpeed Performance Gauge
0%
37.4 ms37.3 ms
test_schema_build
tests/benchmarks/test_discriminated_unions.py
CodSpeed Performance Gauge
0%
4.2 ms4.2 ms
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_generics.py
CodSpeed Performance Gauge
0%
312.2 ms311.9 ms
test_north_star_dump_json
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
35 ms35 ms
test_north_star_validate_json
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
52.8 ms52.8 ms
test_north_star_validate_json_strict
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
52.6 ms52.6 ms
test_north_star_dump_python
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
17 ms17 ms
test_north_star_validate_python
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
43.7 ms43.7 ms
test_north_star_json_loads
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
22.1 ms22.1 ms
test_north_star_validate_python_strict
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
28.8 ms28.8 ms
test_efficiency_with_highly_nested_examples
tests/benchmarks/test_discriminated_unions.py
CodSpeed Performance Gauge
0%
950.6 µs953 µs
test_construct_schema
tests/benchmarks/test_schema_build.py
CodSpeed Performance Gauge
0%
5 ms5 ms

Commits

Click on a commit to change the comparison range
Base
main
6820879
+0.13%
Fix a bug when setting StringConstraint(strict=False)
5f941ab
2 years ago
by vbmendes
© 2026 CodSpeed Technology
Home Terms Privacy Docs