On Jul 23, 2011, at 7:54 AM, Fayaz Yusuf Khan wrote:
>>
>>
>> When C inherits from CMixin and Timeline, Python's method resolution is
>> going to put TMixin after Timeline, that is:
>>
>> (, , > '__main__.Timeline'>, , > 'sqlalchemy.ext.declarative.Base'>, , > 'object'>)
> Maybe, joint-table in
On Thursday, July 21, 2011 09:27:21 PM Michael Bayer wrote:
> On Jul 21, 2011, at 10:48 AM, Michael Bayer wrote:
> > On Jul 21, 2011, at 2:11 AM, Fayaz Yusuf Khan wrote:
> >> Hi,
> >> I have this declarative table model:
> >> http://paste.pound-python.org/show/9857/
> >
> > The short answer is you
On Jul 21, 2011, at 10:48 AM, Michael Bayer wrote:
>
> On Jul 21, 2011, at 2:11 AM, Fayaz Yusuf Khan wrote:
>
>> Hi,
>> I have this declarative table model:
>> http://paste.pound-python.org/show/9857/
>
> The short answer is you can't do it that way right now. The "user" and
> "timestamp" c
On Jul 21, 2011, at 2:11 AM, Fayaz Yusuf Khan wrote:
> Hi,
> I have this declarative table model:
> http://paste.pound-python.org/show/9857/
The short answer is you can't do it that way right now. The "user" and
"timestamp" columns of C can't get assigned to the Table by declarative because
Hi,
I have this declarative table model:
http://paste.pound-python.org/show/9857/
==
from sqlalchemy import Column, String, ForeignKeyConstraint, Integer
from sqlalchemy.ext.declarative import declarative_base, declared_attr
class TableName(