Whoops - _is_clean() doesn't make it up to a ScopedSession...

Digging into why this is the case I see the registry pattern in there.  Is 
it a safe/valid cheat to access the registry directly and do this?

if my_scoped_session.registry()._is_clean():
    print "an attempt to modify the session was made!"

Russ

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sqlalchemy/-/lrgrvV5l5cEJ.
To post to this group, send email to sqlalchemy@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to