From a640f63d86f73a1b50caf76d6756b1e6ef7ddd8e Mon Sep 17 00:00:00 2001 From: "Stephen J. Fuhry" Date: Tue, 14 Mar 2023 16:50:05 -0400 Subject: [PATCH] add comment explaining possible unreachable code --- marshmallow_jsonschema/base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/marshmallow_jsonschema/base.py b/marshmallow_jsonschema/base.py index 700cae4..3643ff4 100644 --- a/marshmallow_jsonschema/base.py +++ b/marshmallow_jsonschema/base.py @@ -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)