On Mon, Mar 3, 2008 at 8:23 PM, Michael Bayer [EMAIL PROTECTED] wrote:
We define __eq__() all over the place so that would be a lot of
__hash__() methods to add, all of which return id(self). I wonder if
we shouldn't just make a util.Mixin called Hashable so that we can
centralize the
On Tuesday 04 March 2008 12:34:11 Marco De Felice wrote:
So after some coding and thanks to sdobrev previous reply I came up
with the following mapperextension that allows for a client side
update log to a different table (logtable name = table_prefix +
original table name) with a
On Mar 4, 2008, at 4:26 AM, Denis S. Otkidach wrote:
On Mon, Mar 3, 2008 at 8:23 PM, Michael Bayer [EMAIL PROTECTED]
wrote:
We define __eq__() all over the place so that would be a lot of
__hash__() methods to add, all of which return id(self). I wonder if
we shouldn't just make a
this is self explanatory, but error is below
i'm using sqlalchemy to reflect a table. it reads it fine.
when i try to assign a mapper, i get has no attribute '_class_state'
looking at orm.mapper.py
734:
if self.non_primary:
self._class_state = self.class_._class_state
At 02:04 PM 3/3/2008 -0500, Michael Bayer wrote:
the bug is that unregister_attribute() is not working, which the test
suite is using to remove and re-register new instrumentation:
class Foo(object):
pass
attributes.register_attribute(Foo, collection,
Dear list...
Actually I'm trying something rather simple so I'm surprised myself that
it got me stuck. Bear with me that I'm not providing much code but the
application is not written in english so the database models aren't
either.
Basically I have three tables like 'companies', 'departments'