Skip to content

Commit

Permalink
Pass unknown parameter to pre_load
Browse files Browse the repository at this point in the history
  • Loading branch information
jforand-adacel committed Jul 16, 2020
1 parent 09c5b26 commit 28aab8e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/marshmallow/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,12 @@ def _do_load(
if self._has_processors(PRE_LOAD):
try:
processed_data = self._invoke_load_processors(
PRE_LOAD, data, many=many, original_data=data, partial=partial
PRE_LOAD,
data,
many=many,
original_data=data,
partial=partial,
unknown=unknown
)
except ValidationError as err:
errors = err.normalized_messages()
Expand Down

0 comments on commit 28aab8e

Please sign in to comment.