Skip to content

Commit

Permalink
Merge pull request #2164 from somethingnew2-0/nested-field-type-hint
Browse files Browse the repository at this point in the history
Fix NestedField Type hint for Lambda Schema types
  • Loading branch information
lafrech authored Aug 15, 2023
2 parents 2abdfd9 + 0dd6e4e commit 9fa323c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions AUTHORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -173,3 +173,4 @@ Contributors (chronological)
- Ivo Reumkens `@vanHoi <https://github.com/vanHoi>`_
- Aditya Tewary `@aditkumar72 <https://github.com/aditkumar72>`_
- Sebastien Lovergne `@TheBigRoomXXL <https://github.com/TheBigRoomXXL>`_
- Peter C `@somethingnew2-0 <https://github.com/somethingnew2-0>`_
2 changes: 1 addition & 1 deletion src/marshmallow/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ def __init__(
| type
| str
| dict[str, Field | type]
| typing.Callable[[], SchemaABC | dict[str, Field | type]],
| typing.Callable[[], SchemaABC | type | dict[str, Field | type]],
*,
dump_default: typing.Any = missing_,
default: typing.Any = missing_,
Expand Down

0 comments on commit 9fa323c

Please sign in to comment.