(
obj: Union[BinaryExpression[Any], ColumnClause[Any]],
**kw: Any,
)
| 6145 | # 3. clone everything else, making sure we use columns |
| 6146 | # corresponding to the froms we just made. |
| 6147 | def replace( |
| 6148 | obj: Union[BinaryExpression[Any], ColumnClause[Any]], |
| 6149 | **kw: Any, |
| 6150 | ) -> Optional[KeyedColumnElement[Any]]: |
| 6151 | if isinstance(obj, ColumnClause) and obj.table in new_froms: |
| 6152 | newelem = new_froms[obj.table].corresponding_column(obj) |
| 6153 | return newelem |
| 6154 | return None |
| 6155 | |
| 6156 | kw["replace"] = replace |
| 6157 |
nothing calls this directly
no test coverage detected