(
self, meth: str, order_by: bool = True, distinct: bool = True
)
| 418 | ) |
| 419 | |
| 420 | def _no_criterion_condition( |
| 421 | self, meth: str, order_by: bool = True, distinct: bool = True |
| 422 | ) -> None: |
| 423 | self._no_criterion_assertion(meth, order_by, distinct) |
| 424 | |
| 425 | self._from_obj = self._setup_joins = () |
| 426 | if self._statement is not None: |
| 427 | self._compile_options += {"_statement": None} |
| 428 | self._where_criteria = () |
| 429 | self._distinct = False |
| 430 | |
| 431 | self._order_by_clauses = self._group_by_clauses = () |
| 432 | |
| 433 | def _no_clauseelement_condition(self, meth: str) -> None: |
| 434 | if not self._enable_assertions: |
no test coverage detected