r"""Construct a new :class:`_expression.Select`. The public constructor for :class:`_expression.Select` is the :func:`_sql.select` function.
(
self, *entities: _ColumnsClauseArgument[Any], **dialect_kw: Any
)
| 5377 | return stmt |
| 5378 | |
| 5379 | def __init__( |
| 5380 | self, *entities: _ColumnsClauseArgument[Any], **dialect_kw: Any |
| 5381 | ): |
| 5382 | r"""Construct a new :class:`_expression.Select`. |
| 5383 | |
| 5384 | The public constructor for :class:`_expression.Select` is the |
| 5385 | :func:`_sql.select` function. |
| 5386 | |
| 5387 | """ |
| 5388 | self._raw_columns = [ |
| 5389 | coercions.expect( |
| 5390 | roles.ColumnsClauseRole, ent, apply_propagate_attrs=self |
| 5391 | ) |
| 5392 | for ent in entities |
| 5393 | ] |
| 5394 | GenerativeSelect.__init__(self) |
| 5395 | |
| 5396 | def _scalar_type(self) -> TypeEngine[Any]: |
| 5397 | if not self._raw_columns: |