Skip to content

Commit

Permalink
Merge pull request marshmallow-code#2036 from marshmallow-code/typing…
Browse files Browse the repository at this point in the history
…_ipinterface

Add missing type hint to IPInterface __init__
  • Loading branch information
lafrech authored Aug 22, 2022
2 parents 9a50159 + 164364a commit da012bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/marshmallow/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -1815,7 +1815,7 @@ class IPInterface(Field):

DESERIALIZATION_CLASS = None # type: typing.Optional[typing.Type]

def __init__(self, *args, exploded=False, **kwargs):
def __init__(self, *args, exploded: bool = False, **kwargs):
super().__init__(*args, **kwargs)
self.exploded = exploded

Expand Down

0 comments on commit da012bb

Please sign in to comment.