From 28bb90205b1edd8632a80f356e545bb83a8e29ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89lie=20Bouttier?= Date: Wed, 16 Oct 2024 18:28:36 +0200 Subject: [PATCH] feat(schemas): add load_instance=True for Taxref --- apptax/taxonomie/schemas.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apptax/taxonomie/schemas.py b/apptax/taxonomie/schemas.py index b8572d4c..fde2f3da 100644 --- a/apptax/taxonomie/schemas.py +++ b/apptax/taxonomie/schemas.py @@ -85,6 +85,7 @@ class TaxrefSchema(SmartRelationshipsMixin, ma.SQLAlchemyAutoSchema): class Meta: model = Taxref include_fk = True + load_instance = True medias = fields.Nested(TMediasSchema, many=True) attributs = fields.Nested(CorTaxonAttributSchema, many=True)