(
self,
*columns: _OnlyColumnArgument[Any],
name: Optional[str] = None,
literal_binds: bool = False,
)
| 3350 | name_cte_columns = True |
| 3351 | |
| 3352 | def __init__( |
| 3353 | self, |
| 3354 | *columns: _OnlyColumnArgument[Any], |
| 3355 | name: Optional[str] = None, |
| 3356 | literal_binds: bool = False, |
| 3357 | ): |
| 3358 | super().__init__() |
| 3359 | self._column_args = tuple( |
| 3360 | coercions.expect(roles.LabeledColumnExprRole, col) |
| 3361 | for col in columns |
| 3362 | ) |
| 3363 | |
| 3364 | if name is None: |
| 3365 | self._unnamed = True |
| 3366 | self.name = _anonymous_label.safe_construct(id(self), "anon") |
| 3367 | else: |
| 3368 | self._unnamed = False |
| 3369 | self.name = name |
| 3370 | self.literal_binds = literal_binds |
| 3371 | self.named_with_column = not self._unnamed |
| 3372 | |
| 3373 | @property |
| 3374 | def _column_types(self) -> List[TypeEngine[Any]]: |
nothing calls this directly
no test coverage detected