I think it was missing a key in foreign_keys:
mapper(Sensor, sensors,
properties={
'data': relationship(Data, backref='sensor',
foreign_keys=[data.c.id_meas, acquisitions.c.id_cu],
primaryjoin=and_(sensors.c.id_meas==data.c.id_meas,
Thank you Michael,
I will try it... next year... ^^
good 2011 again!
neurino
On Dec 30, 5:45 pm, Michael Bayer mike...@zzzcomputing.com wrote:
this is again my error messages not telling the whole story, ill see if i can
get the term foreign_keys back in there:
mapper(Sensor, sensors,