MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _replace

Method _replace

lib/sqlalchemy/sql/schema.py:5434–5438  ·  view source on GitHub ↗
(self, col: Column[Any])

Source from the content-addressed store, hash-verified

5432 self._set_parent_with_dispatch(self.table)
5433
5434 def _replace(self, col: Column[Any]) -> None:
5435 PrimaryKeyConstraint._autoincrement_column._reset(self) # type: ignore
5436 self._columns.replace(col)
5437
5438 self.dispatch._sa_event_column_added_to_pk_constraint(self, col)
5439
5440 @property
5441 def columns_autoinc_first(self) -> List[Column[Any]]:

Callers 10

create_connect_argsMethod · 0.80
_set_parentMethod · 0.80
_process_positionalMethod · 0.80
_process_numericMethod · 0.80
visit_bindparamMethod · 0.80
_assert_replaceMethod · 0.80
decorateFunction · 0.80

Calls 3

_resetMethod · 0.45
replaceMethod · 0.45

Tested by 1