(
self,
_join_result: JoinResult,
_args: Iterable[expr.ColumnExpression],
_id: expr.ColumnReference | None,
)
| 282 | _groupby: GroupedTable |
| 283 | |
| 284 | def __init__( |
| 285 | self, |
| 286 | _join_result: JoinResult, |
| 287 | _args: Iterable[expr.ColumnExpression], |
| 288 | _id: expr.ColumnReference | None, |
| 289 | ): |
| 290 | super().__init__( |
| 291 | _join_result._universe, |
| 292 | { |
| 293 | **_join_result._substitution, |
| 294 | thisclass.this: _join_result, |
| 295 | }, |
| 296 | _join_result, |
| 297 | ) |
| 298 | tab, subs = _join_result._substitutions() |
| 299 | self._substitution_desugaring = SubstitutionDesugaring(subs) |
| 300 | _args = [self._substitution_desugaring.eval_expression(arg) for arg in _args] |
| 301 | if _id is not None: |
| 302 | _id = self._substitution_desugaring.eval_expression(_id) |
| 303 | |
| 304 | self._groupby = tab.groupby(*_args, id=_id) |
| 305 | |
| 306 | @desugar |
| 307 | @arg_handler(handler=reduce_args_handler) |
nothing calls this directly
no test coverage detected