i needed to do some savepoint work in sqlalchemy, and remembered mike 
directed me to a FAQ or example with a contextmanager syntax:

    with session.begin_nested():
         pass

i jumped on the sqlalchemy docs, and couldn't find that at all.

the orm docs ( http://docs.sqlalchemy.org/en/latest/orm/session.html ) make 
vague reference "with session" statements, but there's nothing really 
explicit about this.

i just wanted to note that it might be worth mentioning this in the docs

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to