[sqlalchemy] want to suppress automatic refresh

2010-03-25 Thread keith cascio
Hi. I use declarative orm with session. With my current configuration, SQLAlchemy refreshes more often than I'd like. In other words, when I look at the echo log, I see more SELECT statements than I'd like. It issues a SELECT when I read an attribute, but I don't want it to do that. What is

Re: [sqlalchemy] want to suppress automatic refresh

2010-03-25 Thread Michael Bayer
keith cascio wrote: Hi. I use declarative orm with session. With my current configuration, SQLAlchemy refreshes more often than I'd like. In other words, when I look at the echo log, I see more SELECT statements than I'd like. It issues a SELECT when I read an attribute, but I don't want