MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _col_attached

Method _col_attached

lib/sqlalchemy/sql/schema.py:4663–4670  ·  view source on GitHub ↗
(column: Column[Any], table: Table)

Source from the content-addressed store, hash-verified

4661 if not has_string_cols:
4662
4663 def _col_attached(column: Column[Any], table: Table) -> None:
4664 # this isinstance() corresponds with the
4665 # isinstance() above; only want to count Table-bound
4666 # columns
4667 if isinstance(table, Table):
4668 cols_wo_table.discard(column)
4669 if not cols_wo_table:
4670 self._check_attach(evt=True)
4671
4672 self._cols_wo_table = cols_wo_table
4673 for col in cols_wo_table:

Callers

nothing calls this directly

Calls 2

_check_attachMethod · 0.95
discardMethod · 0.45

Tested by

no test coverage detected