MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / _replace

Method _replace

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

Source from the content-addressed store, hash-verified

5049 self._set_parent_with_dispatch(self.table)
5050
5051 def _replace(self, col: Column[Any]) -> None:
5052 PrimaryKeyConstraint._autoincrement_column._reset(self) # type: ignore
5053 self._columns.replace(col)
5054
5055 self.dispatch._sa_event_column_added_to_pk_constraint(self, col)
5056
5057 @property
5058 def columns_autoinc_first(self) -> List[Column[Any]]:

Callers 8

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