MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / adapt_check_present

Method adapt_check_present

lib/sqlalchemy/sql/util.py:1361–1367  ·  view source on GitHub ↗
(self, col: _ET)

Source from the content-addressed store, hash-verified

1359 adapt_list = ClauseAdapter.copy_and_process
1360
1361 def adapt_check_present(self, col: _ET) -> Optional[_ET]:
1362 newcol = self.columns[col]
1363
1364 if newcol is col and self._corresponding_column(col, True) is None:
1365 return None
1366
1367 return newcol
1368
1369 def _locate_col(
1370 self, col: ColumnElement[Any]

Callers

nothing calls this directly

Calls 1

_corresponding_columnMethod · 0.80

Tested by

no test coverage detected