Skip to content

Commit 1f8b30b

Browse files
authored
Make ValidatorFunctionWrapHandler positional only (#1323)
1 parent 34d789f commit 1f8b30b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pydantic_core/core_schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2062,7 +2062,7 @@ def fn(v: str, info: core_schema.ValidationInfo) -> str:
20622062

20632063

20642064
class ValidatorFunctionWrapHandler(Protocol):
2065-
def __call__(self, input_value: Any, outer_location: str | int | None = None) -> Any: # pragma: no cover
2065+
def __call__(self, input_value: Any, outer_location: str | int | None = None, /) -> Any: # pragma: no cover
20662066
...
20672067

20682068

0 commit comments

Comments
 (0)