Return a list of string keys representing the local columns in this :class:`_schema.ForeignKeyConstraint`. This list is either the original string arguments sent to the constructor of the :class:`_schema.ForeignKeyConstraint`, or if the constraint has been initialize
(self)
| 5190 | |
| 5191 | @property |
| 5192 | def column_keys(self) -> _typing_Sequence[str]: |
| 5193 | """Return a list of string keys representing the local |
| 5194 | columns in this :class:`_schema.ForeignKeyConstraint`. |
| 5195 | |
| 5196 | This list is either the original string arguments sent |
| 5197 | to the constructor of the :class:`_schema.ForeignKeyConstraint`, |
| 5198 | or if the constraint has been initialized with :class:`_schema.Column` |
| 5199 | objects, is the string ``.key`` of each element. |
| 5200 | |
| 5201 | """ |
| 5202 | if hasattr(self, "parent"): |
| 5203 | return self._columns.keys() |
| 5204 | else: |
| 5205 | return [ |
| 5206 | col.key if isinstance(col, ColumnElement) else str(col) |
| 5207 | for col in self._pending_colargs |
| 5208 | ] |
| 5209 | |
| 5210 | @property |
| 5211 | def _col_description(self) -> str: |