1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Removed unnecessary WhereNode.is_summary.

Unnecessary since its introduction in 1df89a60c5.
This commit is contained in:
Mariusz Felisiak
2021-08-09 19:23:29 +02:00
committed by GitHub
parent f0776a558c
commit b64db05b9c

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'):