(
expr: ColumnElement[Any],
op: OperatorType,
seq_or_selectable: ClauseElement,
negate_op: OperatorType,
**kw: Any,
)
| 209 | |
| 210 | |
| 211 | def _in_impl( |
| 212 | expr: ColumnElement[Any], |
| 213 | op: OperatorType, |
| 214 | seq_or_selectable: ClauseElement, |
| 215 | negate_op: OperatorType, |
| 216 | **kw: Any, |
| 217 | ) -> ColumnElement[Any]: |
| 218 | seq_or_selectable = coercions.expect( |
| 219 | roles.InElementRole, seq_or_selectable, expr=expr, operator=op |
| 220 | ) |
| 221 | if "in_ops" in seq_or_selectable._annotations: |
| 222 | op, negate_op = seq_or_selectable._annotations["in_ops"] |
| 223 | |
| 224 | return _boolean_compare( |
| 225 | expr, op, seq_or_selectable, negate_op=negate_op, **kw |
| 226 | ) |
| 227 | |
| 228 | |
| 229 | def _getitem_impl( |
nothing calls this directly
no test coverage detected