I do not want that my created objects are automatically persisted to Session so I found out that SQLAlchemy has an save_on_init
configuration that could be set to false in order to avoid it.
But I don't know where I need to configure it. How can I configure it? Or any other way to dot not automatically persist create objects with SQLALchemy?
I just found some reference to save_on_init
in older SQLAlchemy versions:
http://web.mit.edu/xavid/arch/i386_linux24/tg-old/SQLAlchemy-0.4.0-py2.5.egg/sqlalchemy/orm/scoping.py
Issues with scoped_session in sqlalchemy - how does it work?