Skip to content

Commit b78af7a

Browse files
committed
Delint
1 parent 2c4451e commit b78af7a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/marshmallow/error_store.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,15 @@ def store_error(self, messages, field_name=SCHEMA, index=None):
2525
messages = {index: messages}
2626
self.errors = merge_errors(self.errors, messages)
2727

28+
2829
def copy_containers(errors):
2930
if isinstance(errors, list):
3031
return [copy_containers(val) for val in errors]
3132
if isinstance(errors, dict):
3233
return {key: copy_containers(val) for key, val in errors.items()}
3334
return errors
3435

36+
3537
def merge_errors(errors1, errors2): # noqa: PLR0911
3638
"""Deeply merge two error messages.
3739

0 commit comments

Comments
 (0)