Skip to content

Commit 3840e00

Browse files
authored
Correct deprecation message for general_after_validator_function (#1090)
1 parent a7739ec commit 3840e00

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
@@ -3862,7 +3862,7 @@ def field_after_validator_function(function: WithInfoValidatorFunction, field_na
38623862
@deprecated('`general_after_validator_function` is deprecated, use `with_info_after_validator_function` instead.')
38633863
def general_after_validator_function(*args, **kwargs):
38643864
warnings.warn(
3865-
'`with_info_after_validator_function` is deprecated, use `with_info_after_validator_function` instead.',
3865+
'`general_after_validator_function` is deprecated, use `with_info_after_validator_function` instead.',
38663866
DeprecationWarning,
38673867
)
38683868
return with_info_after_validator_function(*args, **kwargs)

0 commit comments

Comments
 (0)