Merge pull request #567 from ProtixIT/remove-clone-args

Remove arguments from `InheritanceQuerySetMixin._clone()`
This commit is contained in:
Jelmer 2024-03-21 15:33:02 +01:00 committed by GitHub
commit 89b7662fa8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -89,7 +89,7 @@ class InheritanceQuerySetMixin:
chained.__dict__.update(update)
return chained
def _clone(self, klass=None, setup=False, **kwargs):
def _clone(self):
qs = super()._clone()
for name in ['subclasses', '_annotated']:
if hasattr(self, name):