(
self,
selectable: Optional[_FromClauseArgument],
text: str,
dialect_name: str,
)
| 600 | return self._with_hint(selectable, text, dialect_name) |
| 601 | |
| 602 | def _with_hint( |
| 603 | self, |
| 604 | selectable: Optional[_FromClauseArgument], |
| 605 | text: str, |
| 606 | dialect_name: str, |
| 607 | ) -> Self: |
| 608 | if selectable is None: |
| 609 | self._statement_hints += ((dialect_name, text),) |
| 610 | else: |
| 611 | self._hints = self._hints.union( |
| 612 | { |
| 613 | ( |
| 614 | coercions.expect(roles.FromClauseRole, selectable), |
| 615 | dialect_name, |
| 616 | ): text |
| 617 | } |
| 618 | ) |
| 619 | return self |
| 620 | |
| 621 | |
| 622 | class FromClause( |
no test coverage detected