Skip to content

Commit 0a2ee8f

Browse files
committed
1 parent c354dd8 commit 0a2ee8f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

narwhals/_compliant/group_by.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ def _ensure_all_simple(self, exprs: Sequence[CompliantExprT_contra]) -> None:
5353
and re.sub(r"(\w+->)", "", expr._function_name)
5454
in self._NARWHALS_TO_NATIVE_AGGREGATIONS
5555
):
56-
# NOTE: Need to define `_implementation` in both protocols (#2251)
57-
name = self.compliant._implementation.name.lower() # type: ignore # noqa: PGH003
56+
name = self.compliant._implementation.name.lower()
5857
msg = (
5958
f"Non-trivial complex aggregation found.\n\n"
6059
f"Hint: you were probably trying to apply a non-elementary aggregation with a"

0 commit comments

Comments
 (0)