[sqlalchemy] Re: get(..)-query in single-table inheritance

2010-03-08 Thread Martin Stein
If you view the .get(1) as conceptually similar to query(cls).filter_by(employee_id=1).all() then None would make sense. That's the way I've seen it so far. If you look at get(..) as a different concept, then an exception seems reasonable. Should I file a ticket when the trac box is up again?

Re: [sqlalchemy] Re: get(..)-query in single-table inheritance

2010-03-08 Thread Michael Bayer
Martin Stein wrote: If you view the .get(1) as conceptually similar to query(cls).filter_by(employee_id=1).all() then None would make sense. That's the way I've seen it so far. If you look at get(..) as a different concept, then an exception seems reasonable. Should I file a ticket when