Closed federicoparroni closed 2 years ago
Describe the bug Macros are appended more than once in the Model __passthrough__.
__passthrough__
To Reproduce Steps to reproduce the behavior:
Example
SoftDeleteScope
print(len(Example.__passthrough__))
Expected behavior __passthrough__ should not increase in size indefinitely.
Desktop (please complete the following information):
What database are you using?
Describe the bug Macros are appended more than once in the Model
__passthrough__
.To Reproduce Steps to reproduce the behavior:
Example
which extends a scope with macros, for exampleSoftDeleteScope
Example
in some filesprint(len(Example.__passthrough__))
will print more items than expectedExpected behavior
__passthrough__
should not increase in size indefinitely.Desktop (please complete the following information):
What database are you using?