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

Method column

lib/sqlalchemy/sql/schema.py:3193–3202  ·  view source on GitHub ↗

Return the target :class:`_schema.Column` referenced by this :class:`_schema.ForeignKey`. If no target column has been established, an exception is raised.

(self)

Source from the content-addressed store, hash-verified

3191
3192 @util.ro_memoized_property
3193 def column(self) -> Column[Any]:
3194 """Return the target :class:`_schema.Column` referenced by this
3195 :class:`_schema.ForeignKey`.
3196
3197 If no target column has been established, an exception
3198 is raised.
3199
3200 """
3201
3202 return self._resolve_column()
3203
3204 @overload
3205 def _resolve_column(

Calls 1

_resolve_columnMethod · 0.95