diff --git a/contrib/schemagen/weaseljson_schemagen.py b/contrib/schemagen/weaseljson_schemagen.py index be75e72..8c8b72b 100644 --- a/contrib/schemagen/weaseljson_schemagen.py +++ b/contrib/schemagen/weaseljson_schemagen.py @@ -306,7 +306,7 @@ class Builder: return result if typ == "object" or (typ is None and "properties" in node): - return self._build_object(node, hint, defname, nullable) + return (self._build_object(node, hint, defname, nullable), nullable) if typ == "array": if "items" not in node or not isinstance(node["items"], dict):