its likely a bug. there are some boolean tests for
polymorphic_identity in mapper.py which should be changed to is
None.
On Jan 30, 2009, at 11:58 AM, Gunnlaugur Thor Briem wrote:
Hi,
[trying to send this again, seems like previous copy got lost in
some moderation queue]
Messing
Would None (ie. SQL NULL) be a valid polymorphic identity?
-Original Message-
From: sqlalchemy@googlegroups.com
[mailto:sqlalch...@googlegroups.com] On Behalf Of Michael Bayer
Sent: 30 January 2009 17:06
To: sqlalchemy@googlegroups.com
Subject: [sqlalchemy] Re:
On Jan 30, 2009, at 12:19 PM, King Simon-NFHD78 wrote:
Would None (ie. SQL NULL) be a valid polymorphic identity?
it becomes that issue where we just need some kind of constant to
represent THIS_IS_NOT_DEFINED, so that we know when
polymorphic_identity is defined or not. it's a
-Original Message-
From: sqlalchemy@googlegroups.com
[mailto:sqlalch...@googlegroups.com] On Behalf Of Michael Bayer
Sent: 30 January 2009 17:25
To: sqlalchemy@googlegroups.com
Subject: [sqlalchemy] Re: polymorphic_identity not allowed to
be zero for base class?
On Jan 30,