Skip to content

Commit

Permalink
feat(schemas): add load_instance=True for Taxref
Browse files Browse the repository at this point in the history
  • Loading branch information
bouttier authored and jacquesfize committed Oct 17, 2024
1 parent 7d38088 commit 06c0dcc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apptax/taxonomie/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 06c0dcc

Please sign in to comment.