Hi,

I have 2 mappers:

        mapper(Assembly,
               tables['assembly'],
               properties=dict(
                   clusters=relation(classes['cluster'],
                                     cascade='all,delete,delete',
                                     passive_deletes=True,
                                     backref=backref('assembly')),
                   contigs=relation(classes['contig'],
                                    viewonly=True,
                                    secondary=tables['cluster'])))

        mapper(Library,
               tables['library'],
               properties=dict(
                   clones=relation(classes['clone'],
                                   cascade='all,delete,delete',
                                   passive_deletes=True,
                                   backref=backref('library')),
                   reads=relation(classes['read'],
                                  viewonly=True,
                                  secondary=tables['clone'])))

When I try to access assembly.contigs I get:
(similar for library.reads)

UnmappedColumnError: Column 'cluster.project' is not available, due to
conflicting property 'project'


'project' is part of the (sharded) primary key. I got this error when
upgrading to 0.5.
Any hints to what is wrong here?

Best regards,

Svenn.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to