[sqlalchemy] Re: set_shard problems

2008-11-28 Thread Ids
Excellent work! Indeed r5335 did fix the problem. Thank you very much for your help. Regards, Ids --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups sqlalchemy group. To post to this group, send email to

[sqlalchemy] Re: set_shard problems

2008-11-27 Thread Ids
Just tested with SQLAlchemy 0.4.8 and that one works fine (see log below). So something relevant must have changed between 0.4.8 and 0.5.0rc1. Regards, Ids 2008-11-27 14:06:51,941 INFO sqlalchemy.orm.mapper.Mapper: (Person| persons) _compile_property(id, Column) 2008-11-27 14:06:51,942 INFO

[sqlalchemy] Re: set_shard problems

2008-11-27 Thread Michael Bayer
r5335 will most likely resolve this issue. On Nov 26, 2008, at 5:21 AM, Ids wrote: Hello, I think I have found a bug, but I may be doing something wrong. It looks like session.query(class).set_shard(shard_id) does not work and session.connection(shard_id=shard_id).execute does. The first