Skip to content

Commit

Permalink
Fix wrong type for parameter (#5127)
Browse files Browse the repository at this point in the history
Co-authored-by: JensHeinrich <github.com/JensHeinrich>
  • Loading branch information
JensHeinrich committed Mar 1, 2023
1 parent 314abca commit 1840864
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydantic/class_validators.py
Expand Up @@ -55,7 +55,7 @@ def validator(
each_item: bool = False,
always: bool = False,
check_fields: bool = True,
whole: bool = None,
whole: Optional[bool] = None,
allow_reuse: bool = False,
) -> Callable[[AnyCallable], 'AnyClassMethod']:
"""
Expand Down

0 comments on commit 1840864

Please sign in to comment.