pydantic / pydantic-core

Core validation logic for pydantic written in rust
MIT License
1.4k stars 232 forks source link

Make `ValidatorFunctionWrapHandler` positional only #1323

Closed Viicos closed 3 months ago

Viicos commented 3 months ago

Change Summary

https://github.com/pydantic/pydantic/pull/8479 made a subclass of this protocol in Pydantic positional only, so this needs to be applied to the protocol as well.

Related issue number

Checklist

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

:loudspeaker: Thoughts on this report? Let us know!

codspeed-hq[bot] commented 3 months ago

CodSpeed Performance Report

Merging #1323 will not alter performance

Comparing Viicos:validator-pos-only (037ebc2) with main (34d789f)

Summary

✅ 155 untouched benchmarks