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 committed Oct 16, 2024
1 parent 9893f63 commit 28bb902
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 28bb902

Please sign in to comment.