(scope, table)
| 71 | |
| 72 | |
| 73 | def convert_table(scope, table): |
| 74 | if isinstance(table, api.LegacyTable): |
| 75 | new_table = scope.columns_to_table(table.universe, table.columns) |
| 76 | return ( |
| 77 | new_table, |
| 78 | [column_path.ColumnPath((i,)) for i in range(len(table.columns))], |
| 79 | ) |
| 80 | raise NotImplementedError() |
| 81 | |
| 82 | |
| 83 | def convert_tables(scope, *tables): |