(
self,
*columns: _OnlyColumnArgument[Any],
name: Optional[str] = None,
literal_binds: bool = False,
)
| 3426 | name_cte_columns = True |
| 3427 | |
| 3428 | def __init__( |
| 3429 | self, |
| 3430 | *columns: _OnlyColumnArgument[Any], |
| 3431 | name: Optional[str] = None, |
| 3432 | literal_binds: bool = False, |
| 3433 | ): |
| 3434 | super().__init__() |
| 3435 | self._column_args = tuple( |
| 3436 | coercions.expect(roles.LabeledColumnExprRole, col) |
| 3437 | for col in columns |
| 3438 | ) |
| 3439 | |
| 3440 | if name is None: |
| 3441 | self._unnamed = True |
| 3442 | self.name = _anonymous_label.safe_construct(id(self), "anon") |
| 3443 | else: |
| 3444 | self._unnamed = False |
| 3445 | self.name = name |
| 3446 | self.literal_binds = literal_binds |
| 3447 | self.named_with_column = not self._unnamed |
| 3448 | |
| 3449 | @property |
| 3450 | def _column_types(self) -> List[TypeEngine[Any]]: |
nothing calls this directly
no test coverage detected