@@ -374,7 +374,7 @@ def __init__(
374
374
context : dict | None = None ,
375
375
load_only : types .StrSequenceOrSet = (),
376
376
dump_only : types .StrSequenceOrSet = (),
377
- partial : bool | types .StrSequenceOrSet = False ,
377
+ partial : bool | types .StrSequenceOrSet | None = None ,
378
378
unknown : str | None = None ,
379
379
):
380
380
# Raise error if only or exclude is passed as string, not list of strings
@@ -590,7 +590,7 @@ def _deserialize(
590
590
* ,
591
591
error_store : ErrorStore ,
592
592
many : bool = False ,
593
- partial = False ,
593
+ partial = None ,
594
594
unknown = RAISE ,
595
595
index = None ,
596
596
) -> _T | list [_T ]:
@@ -1089,7 +1089,7 @@ def _invoke_load_processors(
1089
1089
* ,
1090
1090
many : bool ,
1091
1091
original_data ,
1092
- partial : bool | types .StrSequenceOrSet ,
1092
+ partial : bool | types .StrSequenceOrSet | None ,
1093
1093
):
1094
1094
# This has to invert the order of the dump processors, so run the pass_many
1095
1095
# processors first.
@@ -1166,7 +1166,7 @@ def _invoke_schema_validators(
1166
1166
data ,
1167
1167
original_data ,
1168
1168
many : bool ,
1169
- partial : bool | types .StrSequenceOrSet ,
1169
+ partial : bool | types .StrSequenceOrSet | None ,
1170
1170
field_errors : bool = False ,
1171
1171
):
1172
1172
for attr_name in self ._hooks [(VALIDATES_SCHEMA , pass_many )]:
0 commit comments