Re: [Sqlalchemy-tickets] [sqlalchemy] #2900: relationship aliased on subclass causes infinite recur
Brought to you by:
zzzeek
|
From: sqlalchemy <mi...@zz...> - 2014-01-01 21:03:32
|
#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):
looking into the backref issue specifically, it is related to inheritance
and the fact that Child.foo doesn't belong on `FooChild.foo`:
{{{
# breaks
FooChild.parent = Child.foo
# works
#FooChild.parent = FooChild.foo
FooChild(parent=Foo())
}}}
--
Ticket URL: <http://www.sqlalchemy.org/trac/ticket/2900#comment:4>
sqlalchemy <http://www.sqlalchemy.org/>
The Database Toolkit for Python
|