[sqlalchemy] lazy = 'dynamic' and coercing AppenderQuery to a new object class

2010-07-27 Thread Zippy P
Hi all, I have the following: class Device(Base): ... source_id = Column(BigInteger, primary_key=True) ... class EventQuery(Query): def custommethod(): ... class Event(Base): __tablename__ = 'events' query = Session.query.property(query_cls = EventQuery) ... device_source_id =

Re: [sqlalchemy] lazy = 'dynamic' and coercing AppenderQuery to a new object class

2010-07-27 Thread Michael Bayer
On Jul 27, 2010, at 1:23 PM, Zippy P wrote: Hi all, I have the following: class Device(Base): ... source_id = Column(BigInteger, primary_key=True) ... class EventQuery(Query): def custommethod(): ... class Event(Base): __tablename__ = 'events' query =