(self)
| 769 | return compiled_sql, extracted_params, param_dict, cache_hit |
| 770 | |
| 771 | def __invert__(self): |
| 772 | # undocumented element currently used by the ORM for |
| 773 | # relationship.contains() |
| 774 | if hasattr(self, "negation_clause"): |
| 775 | return self.negation_clause |
| 776 | else: |
| 777 | return self._negate() |
| 778 | |
| 779 | def _negate(self) -> ClauseElement: |
| 780 | # TODO: this code is uncovered and in all likelihood is not included |