Re: [Sqlalchemy-tickets] [sqlalchemy] #1407: Use of _polymorphic_map when inheriting
Brought to you by:
zzzeek
From: sqlalchemy <mi...@zz...> - 2009-05-08 17:20:06
|
#1407: Use of _polymorphic_map when inheriting ---------------------------------+------------------------------------------ Reporter: guest | Owner: zzzeek Type: enhancement | Status: new Priority: medium | Milestone: 0.5.xx Component: orm | Severity: no triage selected yet Resolution: | Keywords: Status_field: not decided upon | ---------------------------------+------------------------------------------ Comment (by guest): How cynical of you to think that. The polymorphic_identity is a scalar. In case you would have multiple values to identify a class mapping by or even more complex needs, you could use a custom polymorphic map. That's what I interpreted the map as and since Michael [http://www.mail- archive.com/sql...@go.../msg01221.html once thought out loud] the use of the polymorphic map to be "OK", I considered this behaviour unintended. If the map is not intended to be used that way, however, I will look into the alternatives. Thanks, Thomas -- Ticket URL: <http://www.sqlalchemy.org/trac/ticket/1407#comment:2> sqlalchemy <http://www.sqlalchemy.org/> The Database Toolkit for Python |