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 ) )