Re: [Sqlalchemy-tickets] [sqlalchemy] #2900: relationship aliased on subclass causes infinite recur
Brought to you by:
zzzeek
|
From: sqlalchemy <mi...@zz...> - 2014-01-01 18:20:19
|
#2900: relationship aliased on subclass causes infinite recursion
---------------------------+-------------------------------
Reporter: scraper | Owner: zzzeek
Type: defect | Status: new
Priority: highest | Milestone: 0.9.xx
Component: orm | Severity: major - 1-3 hours
Resolution: | Keywords:
Progress State: in queue |
---------------------------+-------------------------------
Comment (by zzzeek):
so, if we can just have an `InstrumentedAttribute` referred to by many
keys, what does `synonym()` really get us if you aren't using descriptor
overrides? obviously we have to fix the recursion catch in backrefs
here. but should we try to build in "mirror the instrumented attribute"
behavior at the declared level also, then this means we're revising #2828.
#2828 inconsistently doesn't seem to apply to relationships either? seems
like we might have screwed up on this one.
--
Ticket URL: <http://www.sqlalchemy.org/trac/ticket/2900#comment:3>
sqlalchemy <http://www.sqlalchemy.org/>
The Database Toolkit for Python
|