MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / my_prop

Method my_prop

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

Source from the content-addressed store, hash-verified

2274
2275 @declared_attr.cascading
2276 def my_prop(cls):
2277 counter(cls)
2278 return column_property(cls.x + 2)
2279
2280 class A(Abs):
2281 __tablename__ = "a"

Callers

nothing calls this directly

Calls 2

column_propertyFunction · 0.90
counterFunction · 0.85

Tested by

no test coverage detected