From 0217a91d01dc0b09e372543010713794148bcac7 Mon Sep 17 00:00:00 2001 From: Papp Istvan Date: Mon, 14 Jul 2025 13:53:33 +0200 Subject: [PATCH] Add missing partial to SchemaOpts --- src/marshmallow/schema.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/marshmallow/schema.py b/src/marshmallow/schema.py index 936f09272..6065da3d0 100644 --- a/src/marshmallow/schema.py +++ b/src/marshmallow/schema.py @@ -216,6 +216,7 @@ def __init__(self, meta: type): self.include = getattr(meta, "include", {}) self.load_only = getattr(meta, "load_only", ()) self.dump_only = getattr(meta, "dump_only", ()) + self.partial = getattr(meta, "partial", False) self.unknown = getattr(meta, "unknown", RAISE) self.register = getattr(meta, "register", True) self.many = getattr(meta, "many", False)