[Sqlalchemy-tickets] Issue #4149: Hybrid propert behavior changed between 1.x and 1.2 releases (zzz
Brought to you by:
zzzeek
From: Marcin L. <iss...@bi...> - 2017-12-29 12:05:24
|
New issue 4149: Hybrid propert behavior changed between 1.x and 1.2 releases https://bitbucket.org/zzzeek/sqlalchemy/issues/4149/hybrid-propert-behavior-changed-between-1x Marcin Lulek: Hello, I'm not sure if I was always using SA in wrong way or there is a bug in 1.2 version. Setters need to be named same way as hybrid property - this test case works in 1.x and breaks in 1.2. I did notice that in the examples in docs the property name is same in both places, though. Error I'm getting is: File "/home/ergo/workspace/ziggurat_cms/.venv/lib/python3.6/site-packages/sqlalchemy/ext/hybrid.py", line 873, in __set__ raise AttributeError("can't set attribute") AttributeError: can't set attribute Responsible: zzzeek |