Method
_factory
(
cls,
selectable: FromClause,
name: Optional[str] = None,
flat: bool = False,
)
Source from the content-addressed store, hash-verified
| 1830 | |
| 1831 | @classmethod |
| 1832 | def _factory( |
| 1833 | cls, |
| 1834 | selectable: FromClause, |
| 1835 | name: Optional[str] = None, |
| 1836 | flat: bool = False, |
| 1837 | ) -> NamedFromClause: |
| 1838 | return coercions.expect( |
| 1839 | roles.FromClauseRole, selectable, allow_select=True |
| 1840 | ).alias(name=name, flat=flat) |
| 1841 | |
| 1842 | |
| 1843 | class TableValuedAlias(LateralFromClause, Alias): |
Callers
nothing calls this directly
Tested by
no test coverage detected