Avatar for the pydantic user
pydantic
pydantic
BlogDocsChangelog

Fix issue not allowing validate_call decorator to be dynamically assigned to a class method.

#8249Merged
Comparing
jusexton:validate-call-dynamic-method-assignment
(
573c534
) with
main
(
b430e5a
)
CodSpeed Performance Gauge
0%
Untouched
10

Benchmarks

10 total
test_north_star_validate_python_strict
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
+3%
23.9 ms23.2 ms
test_north_star_validate_python
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
37.6 ms37.6 ms
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_generics.py
CodSpeed Performance Gauge
0%
574.4 ms573.8 ms
test_north_star_validate_json_strict
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
72.7 ms72.6 ms
test_north_star_dump_json
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
39.1 ms39.1 ms
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_simple.py
CodSpeed Performance Gauge
0%
216.7 ms216.7 ms
test_north_star_dump_python
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
15.8 ms15.9 ms
test_north_star_json_loads
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
18.1 ms18.1 ms
test_north_star_validate_json
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
74 ms74.1 ms
test_north_star_json_dumps
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
-4%
35.8 ms37.1 ms

Commits

Click on a commit to change the comparison range
Base
main
b430e5a
+0.11%
Fixed bug not allowing validate_call wrapper to be dynamically assigned to a class method.
3cb1191
2 years ago
by jusexton
-0.04%
Move name check outside try block.
cd0a752
2 years ago
by jusexton
-0.12%
Quick grammar fix
573c534
2 years ago
by sydney-runkle
© 2026 CodSpeed Technology
Home Terms Privacy Docs