Skip to content

Commit

Permalink
fix SmartRelationshipsMixin to override exclude metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquesfize committed Jan 29, 2024
1 parent dae7260 commit 9ce89db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils_flask_sqla/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,5 @@ def __init__(self, *args, **kwargs):
kwargs["only"] = only
if exclude:
kwargs["exclude"] = exclude
self.opts.exclude = set(self.opts.exclude).difference(only)
super().__init__(*args, **kwargs)

0 comments on commit 9ce89db

Please sign in to comment.