From 55de1e84c0018bb2e8817612de039ad4668274f4 Mon Sep 17 00:00:00 2001 From: Jacques Franc <49998870+jafranc@users.noreply.github.com> Date: Wed, 12 Nov 2025 16:43:11 +0100 Subject: [PATCH] Allow non over-verbose output --- geos-trame/src/geos/trame/app/deck/tree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geos-trame/src/geos/trame/app/deck/tree.py b/geos-trame/src/geos/trame/app/deck/tree.py index b732ddea..ddaff8e0 100644 --- a/geos-trame/src/geos/trame/app/deck/tree.py +++ b/geos-trame/src/geos/trame/app/deck/tree.py @@ -118,7 +118,7 @@ def to_xml( obj: BaseModel ) -> str: attribute_name_generator=text.camel_case, ) - config = SerializerConfig( indent=" ", xml_declaration=False ) + config = SerializerConfig( indent=" ", xml_declaration=False, ignore_default_attributes=True ) serializer = XmlSerializer( context=context, config=config ) return format_xml( serializer.render( obj ) )