MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / my_col

Method my_col

test/orm/declarative/test_mixin.py:2365–2368  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

2363 class Mixin:
2364 @declared_attr
2365 def my_col(cls):
2366 counter(cls)
2367 assert not orm_base._mapper_or_none(cls)
2368 return Column("x", Integer)
2369
2370 class A(Base, Mixin):
2371 __tablename__ = "a"

Callers

nothing calls this directly

Calls 2

ColumnClass · 0.90
counterFunction · 0.85

Tested by

no test coverage detected