Avatar for the pydantic user
pydantic
pydantic
BlogDocsChangelog

Use ``is_valid_field`` from 1.x for ``mypy`` plugin

#8738Merged
Comparing
DanielNoord:patch-1
(
bd50c62
) with
main
(
3fda9d6
)
CodSpeed Performance Gauge
+1%
Untouched
10

Benchmarks

10 total
test_north_star_validate_json_strict
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
+4%
64.4 ms62.1 ms
test_north_star_json_dumps
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
+3%
38.3 ms37.2 ms
test_north_star_json_loads
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
+1%
18.4 ms18.2 ms
test_north_star_validate_json
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
63.5 ms63.5 ms
test_north_star_dump_python
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
16.7 ms16.7 ms
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_generics.py
CodSpeed Performance Gauge
0%
682.3 ms682.7 ms
test_north_star_dump_json
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
39.3 ms39.3 ms
test_north_star_validate_python
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
36.7 ms36.7 ms
test_north_star_validate_python_strict
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
23.5 ms23.5 ms
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_simple.py
CodSpeed Performance Gauge
-1%
223.6 ms224.9 ms

Commits

Click on a commit to change the comparison range
Base
main
3fda9d6
-0.02%
Use ``is_valid_field`` from 1.x for ``mypy`` plugin
1b15d57
2 years ago
by DanielNoord
+0.71%
Import ``is_valid_field`` from ``.utils`` instead
bd50c62
2 years ago
by DanielNoord
© 2026 CodSpeed Technology
Home Terms Privacy Docs