Skip to content

Commit

Permalink
add comment explaining possible unreachable code
Browse files Browse the repository at this point in the history
  • Loading branch information
fuhrysteve committed Mar 14, 2023
1 parent 293a0c5 commit a640f63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions marshmallow_jsonschema/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ def _resolve_additional_properties(cls) -> bool:
elif unknown == INCLUDE:
return True
else:
# This is probably unreachable as of marshmallow 3.16.0
raise UnsupportedValueError("Unknown value %s for `unknown`" % unknown)


Expand Down

0 comments on commit a640f63

Please sign in to comment.