1
0
mirror of https://github.com/django/django.git synced 2025-02-28 11:34:28 +00:00

Removed unnecessary WhereNode.is_summary.

Unnecessary since its introduction in 1df89a60c5b7a28d7fda4c9ba7c07f02fd7de0fa.
This commit is contained in:
Mariusz Felisiak 2021-08-09 19:23:29 +02:00 committed by GitHub
parent f0776a558c
commit b64db05b9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -182,10 +182,6 @@ class WhereNode(tree.Node):
def contains_over_clause(self):
return self._contains_over_clause(self)
@property
def is_summary(self):
return any(child.is_summary for child in self.children)
@staticmethod
def _resolve_leaf(expr, query, *args, **kwargs):
if hasattr(expr, 'resolve_expression'):