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

Method _append_element

lib/sqlalchemy/sql/schema.py:4754–4756  ·  view source on GitHub ↗
(self, column: Column[Any], fk: ForeignKey)

Source from the content-addressed store, hash-verified

4752 self._set_parent_with_dispatch(table)
4753
4754 def _append_element(self, column: Column[Any], fk: ForeignKey) -> None:
4755 self._columns.add(column)
4756 self.elements.append(fk)
4757
4758 columns: ReadOnlyColumnCollection[str, Column[Any]]
4759 """A :class:`_expression.ColumnCollection` representing the set of columns

Callers 1

_set_tableMethod · 0.80

Calls 2

addMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected