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
)
| 5599 | return stmt |
| 5600 | |
| 5601 | def __init__( |
| 5602 | self, *entities: _ColumnsClauseArgument[Any], **dialect_kw: Any |
| 5603 | ): |
| 5604 | r"""Construct a new :class:`_expression.Select`. |
| 5605 | |
| 5606 | The public constructor for :class:`_expression.Select` is the |
| 5607 | :func:`_sql.select` function. |
| 5608 | |
| 5609 | """ |
| 5610 | self._raw_columns = [ |
| 5611 | coercions.expect( |
| 5612 | roles.ColumnsClauseRole, ent, apply_propagate_attrs=self |
| 5613 | ) |
| 5614 | for ent in entities |
| 5615 | ] |
| 5616 | GenerativeSelect.__init__(self) |
| 5617 | |
| 5618 | def _apply_syntax_extension_to_self( |
| 5619 | self, extension: SyntaxExtension |