| 759 | @check_arg_types |
| 760 | @contextualized_operator |
| 761 | def _forget( |
| 762 | self, |
| 763 | threshold_column: expr.ColumnExpression, |
| 764 | time_column: expr.ColumnExpression, |
| 765 | mark_forgetting_records: bool, |
| 766 | instance_column: expr.ColumnExpression | None = None, |
| 767 | ) -> Table[TSchema]: |
| 768 | if instance_column is None: |
| 769 | instance_column = expr.ColumnConstExpression(None) |
| 770 | context = clmn.ForgetContext( |
| 771 | self._id_column, |
| 772 | self._eval(threshold_column), |
| 773 | self._eval(time_column), |
| 774 | self._eval(instance_column), |
| 775 | mark_forgetting_records, |
| 776 | ) |
| 777 | return self._table_with_context(context) |
| 778 | |
| 779 | @trace_user_frame |
| 780 | @desugar |