(
cls,
statement: Executable,
compiler: SQLCompiler,
**kw: Any,
)
| 453 | |
| 454 | @classmethod |
| 455 | def create_for_statement( |
| 456 | cls, |
| 457 | statement: Executable, |
| 458 | compiler: SQLCompiler, |
| 459 | **kw: Any, |
| 460 | ) -> _ORMCompileState: |
| 461 | return cls._create_orm_context( |
| 462 | cast("Union[Select, FromStatement]", statement), |
| 463 | toplevel=not compiler.stack, |
| 464 | compiler=compiler, |
| 465 | **kw, |
| 466 | ) |
| 467 | |
| 468 | @classmethod |
| 469 | def _create_orm_context( |
no test coverage detected