(self, meth: str)
| 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: |
| 435 | return |
| 436 | if self._order_by_clauses: |
| 437 | raise sa_exc.InvalidRequestError( |
| 438 | "Query.%s() being called on a " |
| 439 | "Query with existing criterion. " % meth |
| 440 | ) |
| 441 | self._no_criterion_condition(meth) |
| 442 | |
| 443 | def _no_statement_condition(self, meth: str) -> None: |
| 444 | if not self._enable_assertions: |
nothing calls this directly
no test coverage detected