diff --git a/sqlalchemy-stubs/sql/selectable.pyi b/sqlalchemy-stubs/sql/selectable.pyi index 8d26bcc..74a5000 100644 --- a/sqlalchemy-stubs/sql/selectable.pyi +++ b/sqlalchemy-stubs/sql/selectable.pyi @@ -122,11 +122,12 @@ class TableSample(Alias): def __init__(self, selectable: FromClause, sampling: Union[float, Function[float]], name: Optional[str] = ..., seed: Optional[Any] = ...) -> None: ... -class CTE(Generative, HasSuffixes, Alias): +class CTE(Generative, HasPrefixes, HasSuffixes, Alias): __visit_name__: str = ... recursive: bool = ... def __init__(self, selectable: Select, name: Optional[str] = ..., recursive: bool = ..., - _cte_alias: Optional[Any] = ..., _restates: Any = ..., _suffixes: Optional[Any] = ...) -> None: ... + _cte_alias: Optional[Any] = ..., _restates: Any = ..., _prefixes: Optional[Any] = ..., + _suffixes: Optional[Any] = ...) -> None: ... def alias(self, name: Optional[str] = ..., flat: bool = ...) -> CTE: ... def union(self, other: Select) -> CTE: ... def union_all(self, other: Select) -> CTE: ...