(self, memo)
| 606 | % (self.name, ', '.join([str(col) for col in self._cols])) |
| 607 | |
| 608 | def __deepcopy__(self, memo): |
| 609 | other = Table(self.name) |
| 610 | other.alias = self.alias |
| 611 | other.is_visible = self.is_visible |
| 612 | cols_by_name = dict() |
| 613 | for col in self._cols: |
| 614 | result_col = deepcopy(col, memo) |
| 615 | other.add_col(result_col) |
| 616 | cols_by_name[result_col.name] = result_col |
| 617 | |
| 618 | other._unique_cols = [] |
| 619 | for col_combo in self._unique_cols: |
| 620 | other_col_combo = set() |
| 621 | for col in col_combo: |
| 622 | other_col_combo.add(cols_by_name[col.name]) |
| 623 | other.unique_cols.append(other_col_combo) |
| 624 | return other |
| 625 | |
| 626 | |
| 627 | class TableExprList(list): |
nothing calls this directly
no test coverage detected